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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started