//例3.1 读入一个整数a,如果a为偶数在屏幕上输出yes #include<iostream> using namespace std; int main(){ int a; cin>>a; if (a%2==0) cout<<"yes"; return 0; }