Computer Science, asked by arturapec, 5 hours ago

1OO POINTS FOR THAT ONE!!! (LANGUAGE IS C )
Task:
A bank pays interest based on the amount of money deposited. If the amount is less than $5,000, the interest is 4% per year. If the amount is $5,000 or more but less than $10,000, the interest is 5% per year. If the amount is $10,000 or more but less than $20,000, the interest is 6% per year. If the amount is $20,000 or more, the interest is 7% per year.
So you should write a program in C language that requests the amount deposited and print the dollar amount of the interest earned for one year.

Answers

Answered by arunadevi5150
0

Answer:

The formula to calculate compound interest is to add 1 to the interest rate in decimal form, raise this sum to the total number of compound periods, and multiply this solution by the principal amount. The original principal amount is subtracted from the resulting value.

Explanation:

please mark me brainliest

Similar questions