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