Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Language is C++ Create a program for an Addition Game that will randomly generate two numbers: number 1 and number2. Display the numbers with the
Language is C++
Create a program for an Addition Game that will randomly generate two numbers: number 1 and number2. Display the numbers with the plus sign between the two numbers and instruct the user to inggit the result, for example: "The sum of 2 + 3 = ". If the user responds with a number equal to the sum of the two numbers, print out "You answered correctly". If the user responds with a number lower than the sum of the two numbers, print out "Your answer was lower than the sum of the two numbers." If the user responds with a number higher than the sum of the two numbers, print out "Your answer was higher than the sum of the two numbers. Use the random number generator and if/else statements to complete this labStep 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