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







![public static void main (String[] args) // local variables, can be accessed](https://s3.amazonaws.com/si.experts.images/answers/2024/08/66ccc44224a0a_61766ccc441802c3.jpg)










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
Get step-by-step solutions from verified subject matter experts
