Объяснение:
#include <iostream>
using namespace std;
int
main ()
{
int a, b;
cin >> a >> b;
if (a == b)
cout << a + 1 << " " << b + 2;
else
cout << a << " " << b;
return 0;
}
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Объяснение:
#include <iostream>
using namespace std;
int
main ()
{
int a, b;
cin >> a >> b;
if (a == b)
cout << a + 1 << " " << b + 2;
else
cout << a << " " << b;
return 0;
}