Computer Science, asked by mamthag1322, 7 months ago

Hey guys please help me this question .

1. write a C++ program to read values of w, x, y and z and display the value of P, where   P=(w+x) / (y-z)

I want immediately​

Answers

Answered by Kaushikkalesh
2

#incude <iostream>

using namespace std;

int main() {

int w,x,y,z;

cin >> w >> x >> y >> z;

int P = (w+x) / (y-z);

cout << P;

}

Do mark it as Braniliest

Similar questions