#include<stdio.h>
int main()
{
float p,r,d,SI;
printf("enter the principal amount-"); printf("enter the rate of interest-"); printf("enter duration in years-"); SI=(p*r*d)/100;
printf("simple interest is %f %",&SI
); return 0;
}
I2luY2x1ZGU8c3RkaW8uaD4KIGludCBtYWluKCkKewogZmxvYXQgcCxyLGQsU0k7CiBwcmludGYoImVudGVyIHRoZSBwcmluY2lwYWwgYW1vdW50LSIpOwogc2NhbmYoIiVmXG4iLHApOwogcHJpbnRmKCJlbnRlciB0aGUgcmF0ZSBvZiBpbnRlcmVzdC0iKTsKIHNjYW5mKCIlZlxuIixyKTsKcHJpbnRmKCJlbnRlciBkdXJhdGlvbiBpbiB5ZWFycy0iKTsKc2NhbmYoIiVmXG4iLGQpOwpTST0ocCpyKmQpLzEwMDsKcHJpbnRmKCJzaW1wbGUgaW50ZXJlc3QgaXMgJWYgJSIsJlNJKTsKcmV0dXJuIDA7Cn0KCiAKIA==