Anonymous user
Loops/For with a specified step: Difference between revisions
m
→{{header|C}}: bug fix; ++i to i += 2
(→{{header|BASIC}}: Added C and C++) |
m (→{{header|C}}: bug fix; ++i to i += 2) |
||
Line 12:
<lang c>
int i;
for(i = 1; i < 10; i +
printf("%d\n", i);
</lang>
|