Question: Write a Java program to meet the following requirements: 1. Prompt the user to enter three strings by using nextLine(). Space can be part of

Write a Java program to meet the following requirements:

1. Prompt the user to enter three strings by using nextLine(). Space can be part of the string). ( Note: your program requires using loop: for-loop, while-loop or do-while-loop to get the input String )

2. Write a method with an input variable (string type).The method should return the number of lowercase letters of the input variable.

3. Get the number of the lowercase letters for each user input string by calling the method.

4. Compare the lowercase numbers and display the maximum, minimum lowercase numbers and the strings

5. You need to have proper comments.

6. You must use below testing data (copy and paste) to test your program.

Test input number: 12345

Check INPUT String: abc

MAXIMUM number

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!