Question: i need some help with C++ and im using the program Atom 4. Write a guessing game that describes as follows: Set a secret number

i need some help with C++ and im using the program Atom
 i need some help with C++ and im using the program
Atom 4. Write a guessing game that describes as follows: Set a

4. Write a guessing game that describes as follows: Set a secret number N. User will guess the number n, and start to enter number. If user's input is larger than N, system will output: "Please enter a smaller number."And let user enter again. o Tools Window Help hw4.pf (page 2 of 2) If user's input is smaller than N, then output: "Please enter a larger number. And let user enter again. If user's input is same as N, then output: "Congratulations, you won", and exit the program. Secret number is 10 here) Please enter the number: 0 Please enter a larger number: 30 Please enter a smaller number: 5 Please enter a larger number: 20 Please enter a smaller number: 9 Please enter a larger number: 15 Please enter a smaller number: 11 Please enter a larger number: 10 Congratulation, you won! 6 8 9 0 0

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!