Question: Please help me to solve this java project! The first three photos are Assignment4.java! And last ten photos are 4 Input cases and 4 Output

 Please help me to solve this java project! The first three

photos are Assignment4.java! And last ten photos are 4 Input cases and

4 Output cases! Thanks a lot! // Assignment #: 4 // Name:

Your name // StudentID: // Lecture: I/ Description: Assignment 4 class displays

a menu of choices to a user and performs the chosen task.

It will keep asking a user to enter the next choice until

the choice of 'Q' (Quit) is entered. import java.util.*; public class Assignment4

public static void main (String[] args) // local variables, can be accessed

anywhere from the main method char input 1 = 'z'; String inputInfo;

String projTitle, projLocation, first, last, projNumStr, deptNumStr; int projNumber, deptNum; String line

= new String(); // instantiate a Project object Project project = new

Project(); printMenu( ) //Create a Scanner object to read user input Scanner

scan = new Scanner (System.in); do // will ask for user input

System.out.println("What action would you like to perform?") line = scan. nextLine(); if

(line.length)1) input1 input1 = line . charAt (0); = Character . toUpperCase

(input1); // matches one of the case statement switch (inputl)

image text in transcribed

image text in transcribed

Please help me to solve this java project! The first three photos are Assignment4.java! And last ten photos are 4 Input cases and 4 Output cases! Thanks a lot!

// Assignment #: 4 // Name: Your name // StudentID: // Lecture: I/ Description: Assignment 4 class displays a menu of choices to a user and performs the chosen task. It will keep asking a user to enter the next choice until the choice of 'Q' (Quit) is entered. import java.util.*; public class Assignment4 public static void main (String[] args) // local variables, can be accessed anywhere from the main method char input 1 = 'z'; String inputInfo; String projTitle, projLocation, first, last, projNumStr, deptNumStr; int projNumber, deptNum; String line = new String(); // instantiate a Project object Project project = new Project(); printMenu( ) //Create a Scanner object to read user input Scanner scan = new Scanner (System.in); do // will ask for user input System.out.println("What action would you like to perform?") line = scan. nextLine(); if (line.length)1) input1 input1 = line . charAt (0); = Character . toUpperCase (input1); // matches one of the case statement switch (inputl)

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