techhipbettruvabetnorabahisbahis forumutaraftarium24eduedusedusedusedusedusedusedusedusedus C Program To Check If Vowel Or Consonant | 4 Simple Ways
Latest :

C Program To Check If Vowel Or Consonant | 4 Simple Ways

C Program to input an alphabet and check for a vowel or consonant – In this particular article, we will brief in on how to input an alphabet and check for a vowel or a consonant.

Suitable examples and sample programs have also been added so that you can understand the whole thing very clearly. The compiler has also been added with which you can execute it yourself.

There has been only one method mentioned in this specific piece to check for a vowel or a consonant.

C Program To Check Whether It Is Vowel Or Consonant

As given in the photo above, the vowels in the English language are:

  • A
  • E
  • I
  • O
  • U

The other 21 alphabets are considered as Consonants. Thus, the way to check for a vowel or a consonant in C programming is as follows:

C program to input any alphabet and check whether it is vowel or consonant

1)Read the entered character and check is it a character or not using if condition. If ASCII value is between 65 to 90 or 97 to 122 so entered character is an alphabet.

2)Compare the alphabet with each vowel a, e, i, o, u using if condition, if it matches with any one of the vowels then it prints “character is vowel”, otherwise it prints “character is consonant”.

3)If the entered character ASCII value is not in the range between 65 to 90 or 97 to 122 then it prints “character is not an alphabet”.

Output:
x

Check Also

C Program : Non-Repeating Elements of An Array | C Programs

The problem statement given is, to write a C program to display the non-repeating elements ...

atakoy escortatakoy escortonwinbakırköy escorthalkali escortstarzbetkucukcekmece escortbağcılar escortsightcarefatih escortfethiye bodrum escortmaltepe escortdeneme bonusu veren sitelerescort kadıköyarnavutkoy escortbasaksehir escortistanbul, escortjojobetromabetromabetromabetbetgaranticasibombelek escorthttps://www.newstrendline.com/betkomgrandpashabetcasibomcasibom바카라사이트batumi escortscasibom girişcasibom güncel girişcasibomgrandpashabet güncel girişholiganbetmarsbahishttps://vheshop.com/casibombetwooncasibom girişholiganbetmegabahis girişsekabetmobilbahis girişnakitbahiszbahisbahiscomotobetbetturkeybets10sheratonbetbelugabahiscasibommarsbahisdeneme bonusubetcioextrabetimajbetmavibetbetplayyeni deneme bonusu veren sitelergrandpashabetdeneme bonusu veren sitelergrandpashabetgrandpashabetcasibom girişgrandpashabetistanbul escortcasino siteleriDeneme Bonusu Veren SitelerDeneme Bonusu Veren Siteler 2025Alanya EscortDeneme Bonusu Veren SitelervaycasinonakitbahisJojobetGrandpashabetbetcup güncel girişgrandpashabetsekabetholiganbet girişmarsbahissekabet girişdeneme bonusu veren siteler resmiiiiiijustin tvcasibom girişmarsbahismarsbahistaraftariumselçuksportsslot sitelerisekabetultraslotslot sitesimavibet güncel girişgrandpashabetcratosroyalbetcratosroyalbet girişdeneme bonusu veren sitelergrandpashabetdeneme bonusu veren sitelerholiganbetmadridbetbahisslot sitelerideneme bonusu veren sitelerdeneme bonusu veren sitelercanlı casinotürk pornoHoliganbetGivenilir bahis siteleritipobetmeritbetimajbetvaycasino girişvaycasino güncel giriş