int N,M; printf("第一个数:"); scanf("%d", &N); printf("第二个数:"); scanf("%d", &M); printf("%%(N+M)=%d", N+M, int(N+M));
30=30
10+20=30
%(N+M)=30
错误提示