Wednesday, 12 August 2020

Program 6

 Program 6

Generate a random number between 1 and 10. Ask the user to guess the number and print a message based on whether they get it right or not.

Program:

Output:

No comments:

Post a Comment