Question: Can someone help me with getting this program written, it is supposed to look exactly like that output but I am stuck. Page of 4

Can someone help me with getting this program written, it is supposed to look exactly like that output but I am stuck.

Can someone help me with getting this program written, it is supposedto look exactly like that output but I am stuck. Page of

Page of 4 0 - ZOOM + lake Write a program that computes an investment report. Analysis: The inputs to this program are the following: An initial amount to be invested (a floating-point number) A period of years (an integer) An interest rate (a percentage expressed as an integer) The program uses a simplified form of compound interest, in which the interest in computed once each year and added to the total amount invested. The output of the program is a report in tabular form that shows, for each year in the term of the investment, the year number, the initial balance in the account for that year, the interest earned for that year, and the ending balance for that year. The columns of the table are suitably labeled with a header in the first row. Following the output of the table, the program prints the total amount of the investment balance and the total amount of interest earned for the period. The proposed user interface is shown below: ============== Problem A===================== Enter the investment amount: $5000 Enter the number of years: 10 Enter the rate as a $2 Year CONH Starting 5000.00 5100.00 5202.00 5306.04 5412.16 5520.40 5630.81 5743.43 5858.30 5975.46 Balance Interest 100.00 102.00 104.04 106.12 108.24 110.41 112.62 114.87 117.17 119.51 Ending Balance 5100.00 5202.00 5306.04 5412.16 5520.40 5630.81 5743.43 5858.30 5975.46 6094.97 Ending Balance: $6094.97 Total Interest Enarned: $1094.97 Page

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!