fork download
  1. #include<stdio.h>
  2. void main()
  3. {
  4. int per;
  5. printf("write your percentage here:\n");
  6. scanf("%f",per);
  7. if (per>36)
  8. printf("Pass");
  9. else
  10. printf("fail");
  11. return 0;
  12. }
  13.  
Runtime error #stdin #stdout 0s 10320KB
stdin
Standard input is empty
stdout
write your percentage here:
fail