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