Question: using C++ if i use while how can i stop the loop Write your code in Q30) that calculates how much money you will have

 using C++ if i use while how can i stop the
using C++
if i use while how can i stop the loop

Write your code in Q30) that calculates how much money you will have after each day of spending (or saving). The user inputs the starting (or target) amount of money (integer data type). Then In each day, the amount of money you spend (or save) is the same as the day number. The program lists out the spending (or saving) progress from day 0 until using up all the money (or reaching the saving target)

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!