Question: Write a program that takes in a string from the user. Count the number of consonants, vowels, digits and other characters in the string and

Write a program that takes in a string from the user. Count the number of consonants, vowels, digits and "other" characters in the string and display this to the user (might as well print the total number of characters as well). Your program should ignore case -i.e., A=a, E=e, and so on. Remember, as you are working through you testing, test with small, easy to verify strings -i.e., a small string of all letters, a small string of all numbers, etc. java question 1 Enter a string: This toast is delicious I will have 1234567890 pieces!! 19 consonants. 16 vowels. 10 numbers. 12 other characters. 57 total characters
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
