Inside the loop when the accumulated salary reach one


If Susan determines to quit the job once she accumulates one million dollars of salary, compute the days she needs to work to reach one million.

Hint: Declare a Boolean variable and name it keepWorking with an initial value of true.  Inside the loop, when the accumulated salary reach one million, you change the Boolean variable to false to stop the loop.

Solution Preview :

Prepared by a verified Expert
Finance Basics: Inside the loop when the accumulated salary reach one
Reference No:- TGS02710287

Now Priced at $10 (50% Discount)

Recommended (95%)

Rated (4.7/5)