Question: For this assignment, you will write a program which repeatedly ( until the user types quit on a line by itself ) asks you what

For this assignment, you will write a program which repeatedly (until the user types quit on a line by itself) asks you what to do with a string, then asks for a string and then performs what you asked it to do. a)(30%) The program should quit once the user types quit on a line by itself 1)(10%) Upon finishing, report the number of strings seen and the total number of characters b)(30%) You should repeatedly ask for two things: 1)(20%) A command (should be one of upper, lower, mixed) if the user provides any other command (IE, anything else) ask for another command 2)(10%) A String (should be of length greater than 0) if the user doesnt provide a string with length greater than 0, ask for another string c)(40%) Once the user provides a command AND a string you can use, you will transform the string according to the given command: 1)(5%) Upper => translates the string to uppercase 2)(5%) Lower => translates the string to lowercase 3)(30%) Mixed => mixes the case (every other character should be uppercase, the rest lowercase) d) Name your program: StringTranslator.java

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Lets break down the problem and then create a stepbystep solution for the assignment Problem Requirements Program Continuation The program should keep ... View full answer

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!