//this is a program to print all the odd number from 1-100
#include<stdio.h>
#include<conio.h>
void main()
{
int i;
printf("\n\nPrinting odd numbers from 1-100");
for(i=1;i<=100;i++)
{
if(i%2!=0)
printf("\n%d",i);
}
getch();
}
#include<stdio.h>
#include<conio.h>
void main()
{
int i;
printf("\n\nPrinting odd numbers from 1-100");
for(i=1;i<=100;i++)
{
if(i%2!=0)
printf("\n%d",i);
}
getch();
}