Java Program to Count Vowels and Consonants in the String
In this tutorial, we are going to learn java programming to count the number of vowels (‘a’, ‘e’, ‘i’, ‘o’, ‘u’) and consonants (any alphabet other than vowels) in a string. For any input string, we have to count the number of vowels that appear and the number of consonants that appear. And returns the … Read more