Answered step by step
Verified Expert Solution
Link Copied!

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

image
Part 1 Write an application containing three parallel arrays that hold 10 elements each. The first array hold fourdigit 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 rst 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 nding and xing coding errors

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 ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Ethical Obligations And Decision Making In Accounting Text And Cases

Authors: Steven Mintz

6th Edition

1264135947, 9781264135943

More Books

Students also viewed these Programming questions