Question: Use C# for the following: Problem 1 [5 points]: Write a method GenerateQuestion that can be used as a math tutor for a young student.
Use C# for the following:
![Use C# for the following: Problem 1 [5 points]: Write a method](https://s3.amazonaws.com/si.experts.images/answers/2024/08/66d31aa03ac90_94366d31a9fa6b05.jpg)
Problem 1 [5 points]: Write a method GenerateQuestion that can be used as a math tutor for a young student. The method should generate and display two random numbers that are to be added, such as: The method should wait for the student to enter the answer. If the answer is correct, the method should return true, otherwise it should return false. Then, in Main, generate three such questions. For each one, if the user answered correctly (if the method returned true) then display a "congratulations!" message. Otherwise display a message similar to: "you answered incorrectly, please try again!". - Hint 1: use Random, as seen in class! - Hint 2: see previous notes on how to format the output so it displays the numbers nicely aligned
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
