fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. int i = 1;
  7. int b = 1;
  8. cout << i + (b << 1) <<endl;
  9. cout << ((i + b) << 1) <<endl;
  10. cout<< (i + b << 1) << endl;
  11. return 0;
  12. }
Success #stdin #stdout 0.01s 5476KB
stdin
Standard input is empty
stdout
3
4
4