C examples for Statement:for
Print the numbers 1 through 20
#include <stdio.h> int main( void ) { for (int count = 1; count <= 20; count++) printf("%d\n", count); return 0;/*from w ww. j a v a 2 s . c o m*/ }