Question: IN JAVA PLEASE 7.20 Ch 6 Program: Authoring assistant (Java) (1) Prompt the user to enter a string of their choosing. Store the text in




IN JAVA PLEASE
7.20 Ch 6 Program: Authoring assistant (Java) (1) Prompt the user to enter a string of their choosing. Store the text in a string. Output the string.(1 pt) EX Enter a sample text: ?'ll continue our quest in space. There will be more shuttie flights and more shuttle crews and yes, more volunteers, more civilians, more teachers in space Nothing ends here: our hopes and our journeys continue! You entered: ?'ll continue our quest in space. There will be more shuttle lights and more shuttle crews and, yes, more volunteers, more civilians, more teachers in space. Nothing ends here: our hopes and our journeys continue! (2) Implement a printMenu method, which outputs a menu of user options for analyzing/editing the string, and returns the user's entered menu option. Each option is represented by a single character If an invalid character is entered, continue to prompt for a valid choice. Hint: Implement Quit before implementing other options. Cal printMenu0 in the main0 method. Continue to call printMenu0 until the user enters q to Quit (3 pts) Ex: MENU CNumber of non-whitespace characters W-Number of words f Find text r Replace all ' s -Shorten spaces g-Quit Choose an option
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
