#include <stdio.h> int main(void) { // your code goes here int a=448,b=1000; printf("x=%f,y=%f,m=%f,n=%f",a/b,a%b,a/(1000.0),a%(1000.0)); return 0;}
Standard input is empty
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)); ^
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!