Write a c program to read 10 sets of p, r, n & q and calculate the corresponding as a=p(1+r/q)^nq

preview_player
Показать описание
When interest compound q times per year at an annual rate of r % for n years, the principal p compounds to an amount a as per the following formula
a=p(1+r/q)^nq
Write a program to read 10 sets of p, r, n & q and calculate the corresponding as.
Source code:
Рекомендации по теме