Computer Science, asked by adiraj98263, 1 month ago

Write a program to calculate simple interest. (principal-5000, -8% and 5 years​

Answers

Answered by XOoCandyBabeoOX
1

{\huge{\pink{↬}}} \:  \: {\huge{\underline{\boxed{\bf{\pink{Answer}}}}}}

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