Write a program to calculate simple interest. (principal-5000, -8% and 5 years
Answers
Answered by
1
C Program to Calculate Compound Interest
- void main()
- float p,r,t,ci;
- printf("Enter Principle, Rate and Time: ");
- scanf("%f%f%f",&p,&r,&t);
- ci=p*pow((1+r/100),t);
- printf("Bank Loans Compound Interest = %f%",ci);
Similar questions