Answered step by step
Verified Expert Solution
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
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