answersLogoWhite

0

How do you write algo for switch case?

Updated: 8/19/2019
User Avatar

Wiki User

12y ago

Best Answer

input (alphabets)

output(vowel or not vowel)

operator(a,e,i,o,u)

switch(alphabets)

{

case 'a'

print"vowel"

case'b'

print"not vowel"

case'e'

print"vowel"

case 'i'

print"vowel"

case 'o'

print"vowel"

case'u'

print"vowel"

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you write algo for switch case?
Write your answer...
Submit
Still have questions?
magnify glass
imp