Int main ...
int a,b,c;
cout <<" 2+2=4? 1-да, 2 - нет " << endl;<br>cin>>a;
if (a == 1) { cout <<" Верно " << endl;}<br>if (a==2) { cout <<" Ошибка " << endl;}<br>cout <<" 3+2=5? 1-да, 2 - нет " << endl;<br>cin>>a;
if (a == 1) { cout <<" Верно " << endl;}<br>if (a==2) { cout <<" Ошибка " << endl;}<br>system ("pause");
return 0;