Program Code :
#include<stdio.h>
#include<math.h>
main()
{
float principal,time,rate;
printf("Enter the value of Principal , Time , Rate");
scanf("%f%f%f",&principal ,&time, &rate");
SI=(principal*time*rate)/100;
printf("After calculation simple interset=%f",SI);
}
Output :
Enter the value of principal , Time , Rate
1300
5
4.5
After calculation simple interest= 292.5
1 Comments
WOWWWW
ReplyDelete