//1.11 基本运算符
#include<stdio.h>
int main(){
printf("\n\n%d,%d\n",20/7,-20/7);
printf("%f,%f\n",20.0/7,-20.0/7);
return 0;
}
1.12 求余运算符
//1.11 基本运算符
#include<stdio.h>
int main(){
printf("\n\n%d,%d\n",20/7,-20/7);
printf("%f,%f\n",20.0/7,-20.0/7);
return 0;
}
1.12 求余运算符