dsdeep

CW 1-5

Jun 6th, 2020
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.17 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     int p,t;
  5.     float r;
  6.     scanf("%d %d %f",&p,&t,&r);
  7.     float s=(p*t*r)/100;
  8.     printf("Simple Interest : %f"\n,s);
  9.     return 0;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment