Back To C Loops Index
//program to display numbers 0 to 10 with a gap of 2 between the numbers using for statement #include
#include
void main() { int i; clrscr(); for(i=0;i<=10;i+=2) { printf("\n%d",i); } getch(); }