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
To accomplish the task described you can use a programming language such as Python Here is how you c... View full answer
Get step-by-step solutions from verified subject matter experts
