Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I want to write a c program that will do the following user enter 1) enter years, 2) enter rate of growth, 3) yearly contribution.

I want to write a c program that will do the following user enter 1) enter years, 2) enter rate of growth, 3) yearly contribution. This program can be modified; however it should allow a user to enter different values each gcc compile. Also, code need to be supported by C not C++

For example: if years (y) = 4, yearly interest rate (r) = 0.15, yearly contribution (c) = 6000, x = ?

logic:

y * r = x + c

(0) * (0.15) = 0 + 6000

6000 * (0.15) = 900 + 60000

6900 * (0.15) = 7200 + 6000

year 4 =13935

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

More Books

Students also viewed these Databases questions

Question

=+3. What impediments deal with customers?

Answered: 1 week ago

Question

What aspects would it be impossible to capture?

Answered: 1 week ago

Question

Enhance your words with effective presentation aids

Answered: 1 week ago