Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Linked Data A Geographic Perspective

Authors: Glen Hart, Catherine Dolbear

1st Edition

1000218910, 9781000218916

More Books

Students also viewed these Databases questions

Question

What were some of the team roles at Casper?

Answered: 1 week ago

Question

What were some of the team norms at Casper?

Answered: 1 week ago