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:51: error: invalid operands to binary % (have 'int' and 'long double')
  printf("x=%f,y=%f,m=%f,n=%f",a/b,a%b,a/(1000.0),a%(1000.0));
                                                   ^
stdout
Standard output is empty