Principle, Time, and Rate and Find the Simple Interest

Write a program to take input from the user
- Principle
- Time
- Rate
And find out the simple interest where simple interest = (p*t*r)/100.
C Code
#include<stdio.h>
#include<conio.h>
void main(){
float p, t, r, si;
printf("enter principle:");
scanf("%f",&p);
printf("enter time:");
scanf("%f",&t);
printf("enter rate:");
scanf("%f",&r);
si = (p*t*r)/100;
printf("Simple Interest = %f", si);
getch();
}
Output
