#include <stdio.h>
int main() {
float Principal,Rate,Time;
printf("Enter Principal = ");
scanf("%f",&Principal);
printf("Enter Rate of Interest = ");
scanf("%f",&Rate);
printf("Enter Time Zone = ");
scanf("%f",&Time);
float Simple_Interest = (Principal*Rate*Time)/100;
printf("Your SIMPLE INTEREST is = %f",Simple_Interest);
return 0;
}
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter