Simple for statement Posted by JanWan Last Updated: March 03, 2012 427 #include<stdio.h> int count; main() { /* print the number from 1 through 20 */ for (count = 1; count <= 20; count++) printf("%d\n", count); return 0; } Font NameReal font size Samath This reminds me of the day when i just started my programming quest! Delete Comment