0
If you will input the values of x, y and z in the code then is: #include <iostream> using namespace std; int main () { int x = 0; int y = 0; int z = 0; int w = 0; int p = w + z / y - z; cout << p << endl; } If inputed by the console: #include <iostream> using namespace std; int main () { int x = 0; int y = 0; int z = 0; int w = 0; int p = w + z / y - z; cin >> x; cin >> y; cin >> z; cin >> w; cout << p << endl; } (Idk if the w was a typo so I decided to just put it in anyways) Hope this helps atleast a little
21st Jul 2017, 1:08 AM
TurtleShell
TurtleShell - avatar