Question: Write a program so that the user can keep entering strings to analyze without having to run the program again. See the example below: Enter

Write a program so that the user can keep entering strings to analyze without having to run the program again. See the example below: Enter Strings to analyze. Enter the string Done to end. Enter a String: BanAnA Output: BanAnA has 3 lowercase letters and 3 upper case letters Enter a String: ABcdefGHi123; Output: ABcdefGHi123 has 5 lowercase letters and 4 upper case letters Enter a String: Done Output: Thank you for using my amazing program! HINT: The method: Character.isLowerCase(c) returns true if c is a lower case character and false otherwise. c must be of type char. Similarly, the method: Character.isUpperCase(c) returns true if c is an upper case character and false otherwise. c must be of type char.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!