Question: Prep Work: You will need the plan you developed for LE 2.3. Read chapter 2 regarding the selection (decision) structure if. Chapter 3 also discusses

Prep Work: You will need the plan you developed for LE 2.3. Read chapter 2 regarding the selection (decision) structure if. Chapter 3 also discusses the single-selection if statement, which is what is used in this exercise. You can code the if-else if you know how to do it. Refer to Fig. 2.19 in the attached PDF for help with JOptionPane. Instructions: Using DrJava, code the program for the plan from LE 2.3. You will prompt for input using Scanner and display using JOptionPane. Refer to the sample output for the prompts and messages Call the program YourLastNameFirstinitialLE24. Fig 2.19 shows you how to store an output message in a String variable. The ifs can be coded as follows where the variable message is already declared as a String if(courseNo
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
