in this video explain Write a Program to Check Whether a character is Vowel in C++ | Check Vowel in C++ Code.
----------------------- START--------------------------
#include <iostream>
#include <math.h>
using namespace std;
int main(){
char ch;
cout<<"Enter the Alphabet: ";
cin>>ch;
cout<<"Using if Statement "<<endl;
if(ch=='a' || ch=='e' || ch=='i' || ch=='o' || ch== 'u'){
cout<<"vowel is: "<<ch;
}
else{
cout<<"not a vowel";
}
cout<<" \nUsing Switch Statement";
switch(ch){
case 'a':
case 'e':
case 'i':
case 'o':
case 'u':
cout<<"\nVowel is: "<<ch;
break;
default:
cout<<"Not A vowel";
}
return 0;
}
-------------------- END ------------------
► Shopify For Beginners :- https://youtube.com/playlist?list=PLm...
► Google AdSense :- https://www.google.com/adsense/start/
► Google Cloud Boost Playlist - https://www.youtube.com/playlist?list...
► Google Cloud SQL Playlist:- https://youtube.com/playlist?list=PLm...
► GitHub Playlist - https://youtube.com/playlist?list=PLm...
► Flutter For Beginners :- https://youtube.com/playlist?list=PLm...
► WordPress Free themes For Beginners :- https://youtube.com/playlist?list=PLm...
► HTML & CSS and JAVASCRIPT Projects:- https://youtube.com/playlist?list=PLm...
► C++ For Beginners Playlist :- https://youtube.com/playlist?list=PLm...
► C++ Basic Programs : https://youtube.com/playlist?list=PLm...
🔁 Facebook: https://www.facebook.com/mscubetechco...
🛑 YouTube : https://www.youtube.com/channel/UC1Gb...
#html #css #c++ #c #mscubetech #coding #programming #javascript #mscubetech
0 Comments
Thanks for Supporting me