Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Expert Systems Applications 31st International Conference Dexa 2020 Bratislava Slovakia September 14 17 2020 Proceedings Part 1 Lncs 12391

Authors: Sven Hartmann ,Josef Kung ,Gabriele Kotsis ,A Min Tjoa ,Ismail Khalil

1st Edition

303059002X, 978-3030590024

More Books

Students also viewed these Databases questions

Question

Prepare and properly label figures and tables for written reports.

Answered: 1 week ago