prog.cpp: In function ‘int main()’:
prog.cpp:26:40: error: invalid operands of types ‘int’ and ‘const char [6]’ to binary ‘operator<<’
cout << "Minus: " << karne = x - z << " pkt." << endl;
~~~~~~^~~~~~~~~~
prog.cpp:30:40: error: invalid operands of types ‘int’ and ‘const char [6]’ to binary ‘operator<<’
cout << "Minus: " << karne = y - z << " pkt." << endl;
~~~~~~^~~~~~~~~~