fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int M;
  5. printf("M:");
  6. scanf("%f", &M);
  7.  
  8. int Mt;
  9. Mt=M/1000;
  10. printf("x:%i/n", Mt);
  11.  
  12. return 0;
  13. }
  14.  
Success #stdin #stdout 0s 4528KB
stdin
Standard input is empty
stdout
M:x:32/n