fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. int p,r,t,si;
  6. p=11;
  7. r=5;
  8. t=10;
  9. si=(p*r*t)/100;
  10. printf("simple interest is %d",si);
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0s 4412KB
stdin
Standard input is empty
stdout
simple interest is 5