Question: please type out code for loop with cumulative result for all steps *5.42 (Financial application: find the sales amount) Rewrite Programming Exercise 5.39 as follows:

please type out code for loop with cumulative result for all steps
*5.42 (Financial application: find the sales amount) Rewrite Programming Exercise 5.39 as follows: Use a forloop instead of a do-while loop. a Let the user enter COMMISSION_SOUGHT instead of fixing it as a constantStep by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
