+ 2
Write a program in java to accept a line and check how many consonants and vowels are there in line
Answer this plz
2 Antworten
+ 4
I would recommend looping through each character of the line and seeing if it equals any vowels and consonants. Create a counter variable and increase it by 1 if any of the characters equal the vowels and consonants.
+ 3
Please share ur attempt so that community can help u.