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