#include<iostream>using namespace std;int main(){ int x=5; int y=x+2; int z=y-3; cout<<x<<endl<<y<<endl<<z; return 0;}
Standard input is empty
5 7 4
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!