RosettaCodeData/Task/Loops-For-with-a-specified-step/C++/loops-for-with-a-specified-step.cpp

3 lines
63 B
C++
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
for (int i = 1; i < 10; i += 2)
std::cout << i << std::endl;