Question: 1. Write a program named LabDays that asks the user if they are currently enrolled in ACS-1903. If they answer yes, ask whether or not
1. Write a program named LabDays that asks the user if they are currently enrolled in ACS-1903. If they answer yes, ask whether or not they are in the night class. If they are enrolled in the night section, display their lab day(s). If they are not registered in 1903, display a simple message. Use JOptionPane for input and output, remove the leading and trailing spaces of the user input, and ensure that it is case insensitive Sample output 1: System: Are you currently enrolled in ACS-1903? (yeso) User: yes System: Are you in the -003 section? (yeso) User: yes System: Your lab is on Friday. Sample output 2: System: Are you currently enrolled in ACS-1903? (yeso) User: yes System: Are you in the -003 section? (yeso) User: no System: Your lab is on Tuesday or Thursday. Sample output 3: System: Are you currently enrolled in ACS-1903? (yeso) User: no System: OK. End of Program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
