Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Odd number
1. ODD
//write a progam to find out number is
odd or even
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int n;
printf("enter any number");
scanf("%d",&n);
if(n%2==0)
printf ("%d is a even number.n",n);
else
printf("%d is a odd number.n",n);
getch();
}
//created by: ankit dubey
Page 1