Question #20822

Q3 write a program using switch case statement that will examine the value of a variable called “country” and print the following messages depending on the value assigned to the “country”
(a) Oman if the value of country is “o” or “O”
(b) UAE if the value of country is “u” or “U”
(c) KSA if the value of country is “k” or “K”
(d) Qatar if the value of country is “q” or “Q”
(e) Bahrain if the value of country is “b” or “B”
(f) Qatar if the value of country is “q” or “Q”
(g) Not from Gulf countries for any other value

Expert's answer

Unfortunately, your question requires a lot of work and cannot be done for free.
Submit it with all requirements as an assignment to our control panel and we'll assist you.
LATEST TUTORIALS
APPROVED BY CLIENTS