C Program to print ODD numbers from 1 to 10

CWC
0 Min Read

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( );
}

 

Share This Article
Leave a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

English
Exit mobile version