Computer Science, asked by aditioraon637, 4 months ago

Write a C program that reads a character and determine whether it is vowel or not. ​

Answers

Answered by dharmendragohati2016
1

Explanation:

Logic to check vowels or consonants

Input a character from user. Store it in some variable say ch . Check conditions for vowel i.e. if(ch == 'a' || ch == 'e' || ch == 'i' || ch == 'o' || ch == 'u') , then it is vowel. If character is alphabet but not vowel then it is consonant.

Answered by Aяχтιc
1

Answer:

Logic to check vowels or consonants

Input a character from user. Store it in some variable say ch . Check conditions for vowel i.e. if(ch == 'a' || ch == 'e' || ch == 'i' || ch == 'o' || ch == 'u') , then it is vowel. If character is alphabet but not vowel then it is consonant.

Similar questions