// adaptado de Barton,Nackman "Scientific and Engineering C++"
//      jtmn, Ago, 2003


#include <iostream>
using namespace std;

int main() {


int i = 1;
cout << i << ", ";         // Print i
cout << ++i << ", ";       // Increment i, then print its new value
cout << i << ", ";         // Print i
cout << i++ << ", ";       // Print i's old value, then increment i
cout << i << endl;         // Print i


return 0;   
}
