0
How to use multiple arithmetic operators in one line?
#include <iostream> using namespace std; int main() { int x = 40 + 60; cout << x; return 0; } How should I write code using multiple arithmetic operators in one line?
1 Answer
+ 2
For example
int x = 6 + 4 - 6 + 5*7 - 7/4?