# Input a decimal number and check ceil value is even or not using mathematical functions in Python

###### Mathematical Functions - Question 3

In this question, we will see how to input a decimal number and check if the ceil value of the number is even or not in Python programming using the mathematical functions. To know more about mathematical functions click on the mathematical functions lesson.

**Q3)** Write a program in Python to input a decimal number and check if the ceil value of the number is even or not.

#### Program

```
import math
a=float(input('Enter a decimal number '))
x=math.ceil(a)
if x%2==0:
print('Even Number')
else:
print('Not Even Number')
```

#### Output

Enter a decimal number 12.3 Not Even Number