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