Question: Help me write code for this program please Instructions CategorizeStrings.java + 1 import java. util.*; Write an application that accepts up to 20 2 public

Help me write code for this program please

Help me write code for this program please Instructions CategorizeStrings.java + 1

Instructions CategorizeStrings.java + 1 import java. util.*; Write an application that accepts up to 20 2 public class CategorizeStrings 3 { Strings , or fewer if the user enters the public static void main (String args) terminating value ZZZ. Store each String in 5 one of two lists-one list for short Strings that // your code here are 10 characters or fewer and another list for long Strings that are 11 characters or more. 8 After data entry is complete, prompt the user to 9 // display( ) 10 } enter which type of String to display, and then 11 output the correct list. 12 For this exercise, you can assume that if the user does not request the list of short strings, the user wants the list of long strings. If a requested list has no Strings , output The list is empty. Prompt the user continuously until a sentinel value, ZZZ, is entered. Grading Write your Java code in the area on the right. Use the Run button to compile and run the code. Clicking the Run Checks button will run pre-configured tests against your code to calculate a grade. Once you are happy with your results, click the Submit button to record your score

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 Programming Questions!