#include
using namespace std;
void div(){
printf("5/3: %d",5/3);cout << endl;
printf("5/(-3): %d",5/-3);cout << endl;
printf("(-3)/8: %d",-3/5);cout << endl;
printf("3/(-8): %d",3/-5);cout << endl;
}
void mod(){
printf("5取模3: %d",5%3);cout << endl;
printf("5取模-3: %d",5%-3);cout << endl;
printf("-3取模5: %d",-3%5);cout << endl;
printf("3取模-5: %d",3%-5);cout << endl;
}
void main(){
cout<<"求商运算"<
运算结果: