The bugs are for you to find! I'm wired in! Are you?
#include<stdio.h> #include<math.h> main() { float p,n,r,i,f; printf("Enter Principal, Rate and Years:\n"); scanf("%f%f%f",&p,&r,&n); i=r/100; f=p*pow((1+i),n); printf("The final value is = %f",f); getch(); }
No comments:
Post a Comment