Tag Archives: Switch Case

JavaScript – Switch Case

In the last JavaScript tutorial, we learned about JavaScript if…else statements. Where we used if statement when we want to execute a block of code based on a single condition, if….else statement to execute either of one statement between two blocks of code based on a single condition, and if….else if….. statement when we have multiple conditions and… Read More »

Write a Program Using Switch Case to Check whether the given alphabet is a vowel or Not

Problem Statement  Switch case is a programming syntax, that provides an alternative elegant way to represent conditional bases statements in programming languages. Mostly all the popular programming languages support switch-case statements. Here we have a problem statement where we need to write a script or program in C++, C and Python that check if a user-entered character or… Read More »