Арифметичні операції
Практичний блок
Розв'язок
Розв'язок
#include <iostream>
using namespace std;
int main()
{
int a,b,x;
cin>>x;
a=x/10;
b=x%10;
cout<<(a+b)*(a+b);
return 0;
}
Інтерактивний блок
Практичний блок
#include <iostream>
using namespace std;
int main()
{
int a,b,x;
cin>>x;
a=x/10;
b=x%10;
cout<<(a+b)*(a+b);
return 0;
}
Інтерактивний блок