+ 5
Who no output?
simple interest program https://code.sololearn.com/cn0hejm5U4Bd/?ref=app
3 Antworten
+ 3
Check scanf in your code:
#include <stdio.h>
int main() {
int p,r,t;
float s;
printf("enter principal,rate and time:");
scanf("%d %d %d", &p, &r, &t);
s=(p*r*t)/100;
printf("simple interest=%f",s);
return 0;
}
+ 3
oh... thks ,lol
0
i now