fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. int a=448,b=1000
  6. printf("x=%f,y=%f,m=%f,n=%f",a/b,a%b,a/(1000.0),a%(1000.0));
  7. return 0;
  8. }
  9.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function 'main':
prog.c:6:2: error: expected ',' or ';' before 'printf'
  printf("x=%f,y=%f,m=%f,n=%f",a/b,a%b,a/(1000.0),a%(1000.0));
  ^
prog.c:5:12: warning: unused variable 'b' [-Wunused-variable]
  int a=448,b=1000
            ^
prog.c:5:6: warning: unused variable 'a' [-Wunused-variable]
  int a=448,b=1000
      ^
stdout
Standard output is empty