SCE
Home
Categories
Python
C#
C++
C
Visual Basic
Java
JavaScript
HTML
CSS
SQL
Git
VIEW ALL
Other
Tags
What's Hot
Featured
I'm Feeling Lucky
Latest
SCE
Sign Up
Log In
Simple for statement
Posted by
JanWan
Last Updated:
March 03, 2012
#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;
}
Related Content