Random Numbers
Task 1
Random number game: Create a random number, and ask the user for their guess. Keep asking them to guess until they get it correct.
Specifications
Your program should:
- Generate a random number between 1 and 15 (inclusive) that the user must guess
- Ask the user for their guess
- While it is not correct, tell them they are wrong and ask them again
- If they are correct, tell them that they are correct. Then exit properly (return 0;)
Get help here: C++ Help