Question: Create a random integer between 1 and 1 0 ( inclusive ) . Do this ONE time. - Keep asking the user to guess the

Create a random integer between 1 and 10(inclusive). Do this ONE time. - Keep asking the user to guess the number until they get it right. - This requires a while loop! In English: while the users number is not correct, ask again. - Once they get it right, the while loop ends. Print You guessed it! The number is ___.

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 Programming Questions!