Question: Assume the variable name has already been declared as a string for storing names. Write three statements. 1. The first statement will prompt the user

Assume the variable name has already been declared as a string for storing names. Write three statements.

1. The first statement will prompt the user to enter a first name

2. The second statement will read a value into the variable name

3. The third statement will print a message " Greetings, NAME !!! " where NAME is replaced by the value that was read into the variable name . For example, if your program read in "Oprah" it would display: Greetings, Oprah!!!

Step by Step Solution

3.29 Rating (149 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To accomplish the task described you can use a programming language such as Python Here is how you c... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!