C examples for Statement:for
Use for loop to count to 1,000 by fives
#include <stdio.h> int main()//from w ww. j av a2 s . c o m { int i; for(i=5;i<=1000;i=i+5) printf("%d\t",i); return(0); }