8

CPP Program to Check Whether a character is Vowel or Consonant

 2 years ago
source link: https://www.geeksforgeeks.org/videos/cpp-program-to-check-for-leap-year-condition/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
CPP Program to Check Whether a character is Vowel or Consonant
CPP Program to Check Whether a character is Vowel or Consonant
Video Player is loading.
Loaded: 0%
Remaining Time -7:56
  • 90 Views
  • 25/04/2022

In this video, we will be creating a CPP program to check whether a character is a vowel or a consonant. But before that let us understand more about C++ language.

C++ is a general-purpose, object-oriented programming language. This language is widely used nowadays for competitive programming. It consists of imperative, object-oriented, and generic programming features. It runs on lots of platforms like Windows, Linux, Unix, Mac, etc.In this video, we will check whether an input character is a vowel or consonant. As we know that there are five vowels ‘a’, ’e’, ’i’, ’o’, and ‘u’. All other alphabets except these 5 alphabets are known as consonants.

Here, we created a program using the following procedures: 1. If-else 2. Switch case statement

This video consider all 10 [a,e,i,o,u,A,E,I,O,U] characters of vowels. Apart from that, we check consonant characters as well.

Related article: https://www.geeksforgeeks.org/program-find-character-vowel-consonant/ https://www.geeksforgeeks.org/structure-of-c-program/


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK