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