Coding is the closest thing we have to a surperpower
输入两个数a和b,输出a除以b的余数。
常用运算符:加(+)、减(-)、乘(*)、除(/)、求余(%)
下面的代码是求两个数的和
#include<bits/stdc++.h>
using namespace std;
int main() {
int a,b,c;
cin>>a>>b;
c=a+b;//赋值语句,把a+b的结果赋值给c
cout<<c<<endl;
return 0;
}
% :用Shift+5 打出来
两个数
第一个数 除以 第二个数 的余数
5 3
2