Răspuns:
#include <iostream>
using namespace std;
int main()
{
int a,b;
cin >> a >> b;
if(a-b<0) {
cout << "Numarul mic: " << a << endl;
cout << "Numarul mare: " << b;
}
else
if(a-b>0){
cout << "Numarul mic: " << b << endl;
cout << "Numarul mare: " << a;
}
else cout << "Numerele sunt egale";
}