Question: 5. Create practice.h that defines the three undefined functions in investment.c which can be downloaded in the Files section of our AnimoSpace. YOU ARE NOT

5. Create practice.h that defines the three undefined functions in investment.c which can be downloaded in the Files section of our AnimoSpace. YOU ARE NOT ALLOWED TO CHANGE ANYTHING IN investment.c getInvestment() will get how much money the user will invest. getInterestRate() will get from the user how much interest the investment will earn on a particular month. It should indicate a number for which month is being inputted computeAndShowNewlnvestmentTotal() will show how much is the total money of the investor after adding the interests. The program uses compounded interest, meaning the interest of the previous month will also earn interest in the current month. EXAMPLE OF HOW THE PROGRAM SHOULD RUN: Enter your investment : 100 Enter the interest rate for month 1:.2 Your new investment total is 120.00 Enter the interest rate for month 2:.1 Your new investment total is 132.00 Enter the interest rate for month 3:.5 Your new investment total is 198.00
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
