fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int a = 1;
  6. int b = a+2;
  7. cout<<"a="<<a<<endl;
  8. cout<<"b="<<b;
  9. return 0;
  10. }
Success #stdin #stdout 0.01s 5320KB
stdin
Standard input is empty
stdout
a=1
b=3