👤

FACETI SCHITAREA ALGORITMULUI
URGENT DAU COROANA




#include

using namespace std;

main()
{

int x,p1,p2;
cout<<"Introduceti un numar x=";
cin>>x;
cout<<"La iesire obtinem x= ";
p1=x/100;

p2=x%100;

x=((p1%10)*10+p1/10)*100+((p2%10)*10+p2/10);

cout< return 0;
}