FREE : [ Study Material ] NDA/SSB Preparation : Check Now!!! | Latest: HR Interview Questions:CHECK | Like Us :

Friday, 21 December 2012

Program to check whether a Number is Even or Odd? | C Program


Input



#include<stdio.h>
#include<conio.h>
void main()
{
int num;
clrscr();
printf("Enter the number to be Checked\t");
scanf("%d",&num);
if(num%2==0)
printf("\nNumber is EVEN");
else
printf("\nNumber is ODD");
getch();
}

Turbo C





Please Submit your Responses
 

Results

get our extension

Like Us on FB

    Freshers Jobs

    Donate

    DMCA Protected

    You are Visitor Number

    Interview Questions

    SSB Questions

      Authors
    Tinku Singh
    Hitesh Dhanda

    MrNaukri.com - Get Sarkari Jobs, Results, Off Campus Placement Updates © 2012. All Rights Reserved | Back To Top |

    © 2013 A Product of IBC Network