#include<iostream> int main() { using namespace std; int a, b, c; a = 11; b = 3; c = 0; printf("%d\n", c = (a / b, a%b)); system("pause"); return 0; }
运行截图:
#include<iostream> int main() { using namespace std; int a, b, c; a = 11; b = 3; c = 0; printf("%d\n", c = (a / b, a%b)); system("pause"); return 0; }
运行截图:
转载于:https://www.cnblogs.com/Mr210843013/p/4823660.html