№1
#include iostream
using namespace std;
int main()
{
cout << "2 + 2 = ?" <<end;<br>int a;
cin >> a;
if(a == 4)cout <<"true"<<endl<br>else{cout<<"false"<<endl;}<br>}
№2
#include iostream
using namespace std;
int main()
{
int a,b,c;
cin>>a>>b>>c;
if (a%2==0) a=a*a;
if(b%2==0) b=b*b;
if(c%2==0) c=c*c;
cout <<a<<" "<<b<<" "<<c<<endl;<br>}
№3
#include
#include
using namespace std;
int main()
{
float a, b, c;
cin >> a >> b >> c;
if(a < b && a < c)
cout << a;<br>else if(b < a && b < c)
cout << b;<br>else if(c < b && c < a)
cout << c;<br>_getch();
return 0;
}