C++ thxxxxxxx
10. Write a program that simulates the number guessing game. The program randomly (10 marks) generates an integer r such that 1 sSrs 99 If the user guesses the number correctly, the program outputs a message “You won! If the guessed number is less than the generated number, the program outputs a message “Your guessed number is lower than the number. Try again.” Otherwise, the program outputs a message “Your guessed number is greater than
OR
OR