fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. double x,y,z;
  5. x=3.4;
  6. y=23.4;
  7. z=x/y*100;
  8. printf("%4.1f\%\n",z);
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0.01s 5284KB
stdin
Standard input is empty
stdout
14.5%