Answered step by step
Verified Expert Solution
Question
1 Approved Answer
John invest (whole number ) $100 at 10 percent simple interest. (That is, every year, the investment earns an interest equal to 10 percent of
John invest (whole number ) $100 at 10 percent simple interest. (That is, every year, the investment earns an interest equal to 10 percent of the original investment). Also, John invests $100 at 5 percent interest compounded annually. (That is, interest is 5 percent of the current balance, including previous addition of interest.) Write a program that finds how many years it takes for the value of interest compounded investment to exceed the simple interest value. Also, display the two values at that time and string press any key to continue. The program reads the invest value from the console and allows user to run the program again without exit if the user choices the option 1 , but if the user enters the exit option then the program exit. Note: use the appropriate C statements and the right data types to solve the
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started