In this example, we are going to see how to write a simple Php Program to check if the entered alphabet is a Vowel or a Consonant.
I hope you know the Vowels in English, if you don’t, these are the Vowels in English (A, E, I, O, U). Other letters are Consonants.
Here is the complete PHP Program with inline comments,
PHP program to Check Vowel or Consonant PHP program to Check Vowel or Consonant
It’s a very simple program, so please go through the above lines of code to understand it.
You can also see the demo of this program by clicking the below link:
The post PHP program to Check Vowel or Consonant appeared first on TutorialsMade.