a JAVA program that would input a string and display the total number of vowels and total number of consonants. (use method)
Example:
Input a string: beautiful
Total Vowels: 5
Total Consonants: 4
loozax 0 Newbie Poster
DangerDev 107 Posting Pro in Training
masijade 1,351 Industrious Poster Team Colleague Featured Poster
ithelp 757 Posting Virtuoso Banned
Salem commented: Nice! +36
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
rapture 134 Posting Whiz in Training
Godstryke 56 Newbie Poster
Salem commented: Excellent ideas :) +36
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.