Question: Your program should do the following: 1. Select a random integer between 1 and 10.1 2. Prompt the user for their name. 3. Refer to

Your program should do the following:

1. Select a random integer between 1 and 10.1 2. Prompt the user for their name. 3. Refer to the user by name when instructing them to pick a number between 1 and 10. 4. Tell the user the number they guessed. 5. Tell the user the random value the program picked. 6. If the user picked the programs number, congratulate them. If not, apologize with their name in the message.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!