Question: 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++

Language is C++ Create a program for an Addition Game that will

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 lab

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!