This assignment will simulate a guessing game. Imagine two people are bored in t

This assignment will simulate a guessing game. Imagine two people are bored in the car driving on a road trip. Create a program that uses the following steps.First person thinks of a number. Ask the user to input a number.First person then asks the second person the guess the number – ask the user to guess the number.If the number matches, print the output X is correct! and exit the programIf the number doesn’t match, print Wrong on a line by istelf, then go back to step 2 and continue asking for the number until the correct answer is given.
Requirements: 1page

Published
Categorized as C#

Leave a comment

Your email address will not be published. Required fields are marked *