Question: (IN C++ please) Exercise 4 Write a program that asks the user to enter integer one by one, until the user enters a 0. When

(IN C++ please) Exercise 4 Write a program that asks the user(IN C++ please)

Exercise 4 Write a program that asks the user to enter integer one by one, until the user enters a 0. When the user enters a 0, the program should print the number and sum of all the numbers the user has entered, including the 0. Use a do-while loop. Microsoft Visual Studio Debug Console Enter a character: 9 Enter a character: 8 Enter a character: -7 Enter a character: 3 Enter a character: -2 Enter a character: 0 You entered 6 numbers The total sum is 11 C:\Users\User\source repos\Project1\Debug\Project1.exe (process 6028) exited with code 0. Press any key to close this window

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!