fork download
  1. #include<stdio.h>
  2. main()
  3. { long double num;
  4. long double n=num-1;
  5. printf("please enter your number:\n");
  6. scanf("%Lf",&num);
  7. for(n=num-1;n>1;n-=1)
  8. num=num*n;
  9. printf("result =%Lg\n\n",num); }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.asm:1: error: label or instruction expected at start of line
prog.asm:2: error: parser: instruction expected
prog.asm:3: error: label or instruction expected at start of line
prog.asm:4: error: label or instruction expected at start of line
prog.asm:5: error: parser: instruction expected
prog.asm:6: error: parser: instruction expected
prog.asm:7: error: parser: instruction expected
prog.asm:8: error: parser: instruction expected
prog.asm:9: error: symbol `printf' redefined
prog.asm:9: error: parser: instruction expected
stdout
Standard output is empty