№1
#include
using namespace std;
int main ()
{
int a,b;
cin >> a >> b;
if (a cout << a << endl;<br> else if (a==b) cout << "a=b" << endl;<br> else cout << b << endl;<br> system ("PAUSE");
return 0;
}
№2
#include
using namespace std;
int main ()
{
char ch1,ch2;
int i1,i2;
cin >> ch1 >> ch2;
i1=ch1;
i2=ch2;
if (i1<=i2)</span> cout << ch1 << ' ' << ch2 << endl;</span>
else cout << ch2 << ' ' << ch1 << endl;</span>
system ("PAUSE");
return 0;
}
№3
#include
using namespace std;
int main ()
{
float p,q;
cout << "p=";</span>
cin >> p;
cout << "q=";</span>
cin >> q;
cout << p-2*q << endl;<br> system ("PAUSE");
return 0;
}