Question: 3 part question. The first two are easy and an answer for those are not needed. The third one is the one I don't understand.
3 part question. The first two are easy and an answer for those are not needed. The third one is the one I don't understand. We are using VM VirturalBox for these. Also, it will be in c++
1) Under Ubuntu Linux 18.04, create and run the Hello, World! program we discussed in class using cout, replacing World with your name.
2) Instead of hard-coding your name, ask the user for their name using cin. Then print Hello, [name], where [name] is whatever name they enter.
3) Instead of asking the user for their name, automatically identify the current user and print Hello, [name]! without any input or hard-coded names in the source code,where [name] is something that uniquely identifies the user, such as a user name, proper name, etc.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
