Question: C++ please Write a program that calculates the amount of simple interest earned based upon the principle, a range of interest rates, and time. Prompt
Write a program that calculates the amount of simple interest earned based upon the principle, a range of interest rates, and time. Prompt the user for a starting rate (in percent), an ending rate (in percent), and an increment, and calculate and print the interest in tabular form based upon your values. Specifications: Use similar specifications as before, but remove your two constants and the variable choice, and add the following variables instead: low_rate-stores the starting interest rate as a percentage (loating high rate stores the ending interest rate as a percentage increment-stores the increment as a percentage for the interest rate- stores the current interest rate as a percentage (floating point) point) You no longer need an if-else statement, but you now need a while loop to solve the problem. If you execute the program with the following underlined inputs, the results will be: Enter principle: 4500.00 Enter time (in days) 300 Enter low interest rate: 1 Enter high interest rate: 5.75 Enter increment 1.1 Interest Computations Rate 1.00 210 $77.67 320 $118.36 430 $159.04 5.40 Interest $36.9 $199.73 When you have double checked your work, submit your program to the grader program. Use the back page for your Algorithmic Development. This should include your I/O diagram, and pseudocode
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
