Thursday, June 14, 2012

Switch Case: Vowel-Consonant

assalamu Alaikum. Hope you all are well by the grace of Almighty ALLAH. Today we learn vowel - consonant problem by Switch Case in C. Let's look at the problem.

Problem: Write a program that takes a character and output it is vowel or consonant.


Solution:


a, e, i, o, u are the vowels and rest of the characters are consonant. Let's look at the program.



Thank you all..:)

0 comments:

Post a Comment