两个数整除求余 AI搬运工 2022-11-01 61 阅读1分钟 #include <iostream> using namespace std; int main() { short int a,b,c; cout <<"请输入a,b的值:"; cin>>a>>b; cout <<"a与b的整除求余为:"<<endl; c=b%a; cout <<c<<endl; return 0; }