Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts International Edition

Authors: David M. Kroenke

6th Edition International Edition

0133098222, 978-0133098228

Students also viewed these Databases questions

Question

understand the meaning of the terms discipline and grievance

Answered: 1 week ago