C program to check vowel or consonant

Write a C program to check whether an alphabet is vowel or consonant using if else. How to check vowels and consonants using if else in C programming. C Program to input a character from user and check whether it is vowel or consonant. Logic to check vowel or consonant in C programming.

Example
Input

Input character: a

Output

'a' is vowel

Read more

C program to check whether a character is alphabet or not

Write a C program to input a character from user and check whether the given character is alphabet or not using if else. How to check whether a character is alphabet or not in C programming. Logic to check if a character is alphabet or not in C program.

Example
Input

Input character: a

Output

'a' is alphabet

Read more

C program to check Leap Year

Write a C program to check leap year using if else. How to check whether a given year is leap year or not in C programming. C Program to input year from user and check whether the given year is leap year or not using ladder if else. Logic to check leap year in C programming.

Example
Input

Input year: 2004

Output

2004 is leap year.

Read more

C program check whether a number is even or odd

Write a C program to check whether a number is even or odd using if else. How to check whether a number is even or odd using if else in C program. C Program to input a number from user and check whether the given number is even or odd. Logic to check even and … Read more

C program to find maximum between two numbers

Write a C program to find maximum between two numbers using if else. C program to input two numbers from user and find maximum between two numbers using if else. How to find maximum or minimum between two numbers using if else in C programming.

Example
Input

Input num1: 10
Input num2: 20

Output

Maximum = 20

Read more