## Solve expression program in C++ (C Plus Plus)

- solve expression program in C++ (C Plus Plus).

1 2 3 4 5 6 7 8 9 10 11 12 13 |
// solve the expreesion // a*b/(-c*36%(20-2))*d #include <iostream> using namespace std; int main() { int a,b,c,d,r; a=10; b=20; c=15; d=8; r=a*b/(-c*31%13)*d; cout<<"Result of expression is "<<r<<endl;} |

**Output:**

**Figure:** solve expression

Latest posts by Prof. Fazal Rehman Shamil (see all)