1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#include <iostream> /* * Yes, it is legal if you aren't using compilerflags like me. * 2.14 * * */ int main () { /* int i = 100; int sum = 0; for(int i = 0 ; i != 10 ; i++) { sum += i; } std::cout << i << " " << sum << std::endl; */ return 0; }