Im new to programming and i cant seem to be able to figure this question out:
Write a c++ program that uses two functions, called simple_interest(float amount, int duration) and compound_interest(float amount, int duration), to compute interest on an investment. The program should take the name of client and initial investment of a the client and store them in two arrays, then asks user to enter the duration and interest rate.
The program then calls the appropriate function to compute either simple or compound interest. The program then adds the interest to the initial amount to obtain the current value of the investment.
The program then outputs the name, principle amount, duration, interest rate, interest and total amount for simple and compound interest options.
ive been working on this for two weeks, any help anyone?