“21天好习惯”第一期—4 (求正余数) #include <stdio.h> int main() { int x,y; int negative,positive; x=(-11)%5; y=(x+5)%5; printf("negative:%d\n",x); printf("positive:%d\n",y); }