Write a C program to find total number of vowels and consonants in a string using loop and if else. How to find total number of vowels and consonants in a string using switch case in C programming. Logic to count number of vowels and consonants in a string.
Example
Input
Input string: I love Codeforwin.
Output
Total Vowels = 7 Total Consonants = 8