## Description

Hello Guys....

Welcome to lapmos.com Today we write a program that how to check the given number is Even or Odd. First of all we know about what is even number and odd number. Even number is which number is divided by 2 completly and remaining is odd number. So now let's start the code...

```
#include<stdio.h>
int main(){
int n;
printf("Enter the number : ");
scanf("%d", &n);
if(n%2==0){
printf("Given number %d is Even", n);
}
else{
printf("Given number %d is Odd", n);
}
return 0;
}
```

**Output :**

**Enter the number : 34
Given number 34 is Even**

## Recommended Posts

## Factorial program in C | Factorial given number by user | Factorial

Hello Guys... Here we write a program to calculate the factorial a number given by user.

## Factorial Using function | C programming language

Here we calculate the factorial using function in c programming language.

## Prime number program in c | Calculate given number is prime or Not | prime number

What is prime number? and how to calculate the given number is prime or not |

## Largest Number | C programming language

Hello guys.. Today we write a program how to find the largest number ( greatest number ) in array c programming language.

## Swap two number without using third variable | C programming language

Write a program Swap two number withtout using third variable in c programming language.