### Ticker

6/recent/ticker-posts

# Practice question based on if-else

Here in this article we will discuss some questions based on the decision statement (if-else ) . I will also provide the solution of all the questions so by clicking on the links you can check our solutions . And if you have no any idea about the decision statements then check this . So lets get start

1. Write a program to find the maximum between two numbers :   C    |     C++    |    Python

2. Write a program to find the minimum between two numbers :   C    |     C++    |    Python

3. Write a program to find the maximum among three numbers :   C    |     C++    |    Python

4. Write a program to check whether a number is negative, positive or zero :   C    |     C++    |    Python

5. Write a program to check whether a number is divisible by 5 and 11 or not :   C    |     C++    |    Python

6. Write a program to check whether a number is even or odd :   C    |     C++    |    Python

7. Write a program to check whether a year is leap year or not :

8. Write a program to check whether  a character is alphabet or not :
9. Write a program to input any alphabet and check whether it is vowel or consonant :

10. Write a program to check whether a character is uppercase or lowercase alphabet:

11. Write a program to input week number and print week day :

### Recommended Post :-

HCL Coding Questions:-

Capgemini Coding Questions:-
iMocha coding Questions:-
Tech Mahindra coding questions:-
Unthinkable Solutions coding questions:-