Question
create a C# program named animals that will simulate a guessinggame. Assign a type of animal to a variable and ask the user toguess the
create a C# program named animals that will simulate a guessinggame. Assign a type of animal to a variable and ask the user toguess the animal. Check to see if the animals match and if they donot, ask them for another guess. The program must follow theserules: Get user input and store the value(s) in a variable Usevariables with different data types ( examples: int, string,Arrays, etc) Use at least one if/else statement Use at least onemethod Create and use at least one class You program must compilewithout warnings or errors and show output to the terminal Feelfree to add any other functionality
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started