#include main() { int ctr,t; float p,r,si; ctr=0; clrscr(); whle(ctr<3) { printf("Enter Values for p,t&r : "); scanf("%f%d%f",&p,&t,&r); si=p*t*r/100; printf("Simple Interest = %f",si); ctr++; } getch(); }