Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please answer this question using Java Part 1 Write an application containing three parallel arrays that hold 10 elements each. The first array hold fourdigit
Please answer this question using Java
Part 1 Write an application containing three parallel arrays that hold 10 elements each. The first array hold four-digit student ID numbers, the second array holds first names, and the third array holds the students' grade point averages. Use dialog boxes to accept a student ID number and display the student's first name and grade point average. If a match is not found, display an error message that includes the invalid ID number and allow the user to search for a new ID number. Part 2 Create an application that contains an enumeration (enum) that represents the days of the week. Display a list of the days, then prompt the user for a day. Display business hours for the chosen day. Create your own business hours stored in an array; however, every day of the week should have different hours. Although companies do not normally have different business hours every day of the week, programming your code with this difference will help in finding and fixing coding errors.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Part 1 Application with Parallel Arrays import javaxswingJOptionPane public class StudentInfo public ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started