WACP to which takes p,t,r as input and compute the simple interest and display the result.

1 year ago
C Programming

/* Program to find the simple interest */ #include<stdio.h>

int main()

{

float p,t,r,si;

printf(“Enter p, t and r\n”); scanf(“%f%f%f”,&p,&t,&r); si = (p*t*r)/100;

printf(“Simple interest = %f\n”,si); return 0;

}

Sanisha Maharjan
Jan 20, 2022
More related questions

Questions Bank

View all Questions

Top