C Program to find simple interest

C Program to find simple interest

#include<stdio.h>
int main()
{
    float p,t,r,si;
    printf("Enter the value of p,t,r");
    scanf("%f%f%f",&p,&t,&r);
    si=(p*t*r)/100;
    printf("Simple Interest is %0.2f",si);
    return 0;
}