Question: Write a C++ Do-While loop that does the following: Asks the user to enter two numbers. The numbers should be added together and their sum

Write a C++ Do-While loop that does the following:

Asks the user to enter two numbers.

The numbers should be added together and their sum displayed.

The loop should keep a running total of all the numbers entered by the user.

The loop should ask the user if he or she wishes to perform the operation again. If so, the loop should repeat, otherwise it should terminate.

The running total of all the values entered should be displayed after exiting the loop.

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!