C Program to print ODD numbers from 1 to 10
# include <stdio.h>
# include <conio.h>
main( )
{
int i;
clrscr( );
for (i=1; i<=10; i+=2)
printf(“%d\n”,i);
getch( );
}
The Way to Programming
C Program to print ODD numbers from 1 to 10
# include <stdio.h>
# include <conio.h>
main( )
{
int i;
clrscr( );
for (i=1; i<=10; i+=2)
printf(“%d\n”,i);
getch( );
}