👤
a fost răspuns

Va rog sa-mi traduceți și mie ce face acest program!!

void f(int y, int &x)
{ x=y+x;
y=2*x+5;
cout<<x<<y<<endl;}
int main()
{ int x,y; x=2; y=5;
f(x,y);
cout<<x<<y<<endl;
f(y,x);
cout<<x<<y;}​


Răspuns :