I needed some help with this java homework assignement. We use eclipse. CIS365 Hw1: Count LetterWrite a Java program (CountLetter.java). Input a sentence from keyboard. Print out how many letters "a", "e", "o" and the percentage of each letter in the whole sentence. Please enter a sentence, ended by period '.': (5 points)Sentence.... (10 points)There are 20 letters (10 points)a: 1, 5% (20 points)e: 0, 0% (20 points)o: 4, 20% (20 points)
I needed some help with this java homework assignement. We use eclipse.
CIS365 Hw1: Count Letter
Write a Java program (CountLetter.java). Input a sentence from keyboard. Print out how many letters "a", "e", "o" and the percentage of each letter in the whole sentence.
Please enter a sentence, ended by period '.': (5 points)
Sentence.... (10 points)
There are 20 letters (10 points)
a: 1, 5% (20 points)
e: 0, 0% (20 points)
o: 4, 20% (20 points)

Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images









