[SOLVED] Char Counter

10.00 $

Programming resource
, Digital learning resource
Categories: ,
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

5/5 - (3 votes)

Write a Java program that gets a phrase from the user. Then use a for loop to examine each letter of the phrase. Print out the position and character found at that position. Count how many times an A, E, I, O, or U appears in the phrase. Your program should print out the character in the original case entered by the user, but should treat a and A the same when counting them.

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.