不知道哪里出错,求解!!!
运行成功,输出错误
hello.c: In function 'main': hello.c:11:15: warning: unknown conversion type character 'y' in format [-Wformat=] printf("x%y=%d\n", x%y ); ^ x+y=7 x-y=13 x*y=-30 x/y=-3
hello.c: In function 'main': hello.c:11:15: warning: unknown conversion type character 'y' in format [-Wformat=] printf("x%y=%d\n", x%y ); ^ x+y=7 x-y=13 x*y=-30 x/y=-3
2018-07-11
举报