#include<stdio.h>
#include<conio.h>
#include<conio.h>
#include<math.h>
int main(){
float p,r,t,ci;
clrscr();
printf("Enter Principal,Rate and Time\n");
scanf("%f%f%f",&p,&r,&t);
int main(){
float p,r,t,ci;
clrscr();
printf("Enter Principal,Rate and Time\n");
scanf("%f%f%f",&p,&r,&t);
ci =(p*pow(1+r/100,t))-p;
printf("Compound interest = %f\n",ci);
getch();
return 1;
}
return 1;
}
No comments:
Post a Comment