#include <iostream> int main() { const int LOOP_ENDS = 105; for (int s = 0, a = 0; s < LOOP_ENDS; s += 5, ++a) std::cout << s << "\t\t" << a << "\n"; return 0; }
Standard input is empty
0 0 5 1 10 2 15 3 20 4 25 5 30 6 35 7 40 8 45 9 50 10 55 11 60 12 65 13 70 14 75 15 80 16 85 17 90 18 95 19 100 20