Question: Java Netbeans For this assignment, you will create a new Netbeans project and follow all instructions as given for each part of the assignment. For
Java Netbeans
For this assignment, you will create a new Netbeans project and follow all instructions as given for each part of the assignment.
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) (30%) Upon finishing, report the number of strings seen, the total number of characters, the number of vowels, and the number of consonants
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
Get step-by-step solutions from verified subject matter experts
