Răspuns:
Se foloseste o variabila auxiliara.
Explicație:
int main() {
int x, y, aux;
cin >> x >> y;
aux = x;
x = y;
y = aux;
cout << x << y;
return 0;
}
Show life that you have a thousand reasons to smile
© Copyright 2024 DOKU.TIPS - All rights reserved.
Răspuns:
Se foloseste o variabila auxiliara.
Explicație:
int main() {
int x, y, aux;
cin >> x >> y;
aux = x;
x = y;
y = aux;
cout << x << y;
return 0;
}