Tuesday, 4 November 2014

FIND THE NO IS EVEN OR ODD USING WITH FUNCTION...

FIND THE NO IS EVEN OR ODD USING WITH FUNCTION...

 

#include<stdio.h>
#include<conio.h>
void even_odd (void);
void main()
{
clrscr();
even_odd();
getch();
}
void even_odd()
{
int num;
printf("enter the number");
scanf("%d",&num);
if(num%2==0)
{
printf("number is even");
}
else
{
printf("number is odd");
}
 }
OUTPUT
Enter the number- 5
number is odd 

REALTED C LANGUAGE PROGRAMS::

1.How to make E shape piyramid ??

2. How to make V shape piyramid ??

3. How to make circule without using graphics ??


 

PROGRAMER BOY SHUBHAM
SHUBHAMPANDEY556@GMAIL.COM 
  blog is created by programer boy shubham it is help in easy to learn c programing

1 comment:

  1. Nice bro thnx for creat this blog site it is to very hlpful for us learn programing

    ReplyDelete