CCCPaste

Untitled

#include 

using namespace std;


int funckija(int &x, int &z, int y) {
    x *= 2;
    y = 3;
    z = x + y;
    return x + y;
}
int main() {
    int a = 5, b = 10, c = 3;
    cout << funckija(a, b, c) << endl;
    cout << a << " " << b << " " << c << endl;
    return 0;
}
// 13
// 10 13 3