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