subject

Working at the Registrar's Office, you have been asked to create a program that helps list the GPA for a specific student. To do this, a user is prompted to provide a GNumber which is then compared against a list of valid GNumbers. If a valid GNumber is entered, the student GPA is output. If not, an error message is output.
The list of valid GNumbers and their associated GPAs are as follows (These values should be stored in parallel arrays. You may hardcode these values. User input is not needed):

M00384758 M00485749 M00485847 M00938459
2.73 3.69 3.82 1.91

Write an efficient Java program that calls a method to populate (hardcode) an array of student code, calls a method to populate (hardcode) an array of GPAs, calls a method to prompt the user for a student code, calls a method to search and determine if the student code entered matches a student, and then calls a method to describe the result to the user.

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 03:40, hussain34
Mary's manager told her she should insert a graphic into her documentwrite mary a brief note describing how to insert a graphicin a word processing document.
Answers: 1
image
Computers and Technology, 22.06.2019 04:30, zetrenne73
How can you know if the person or organization providing the information has the credentials and knowledge to speak on this topic? one clue is the type of web site it is--the domain name ".org" tells you that this site is run by a nonprofit organization.
Answers: 2
image
Computers and Technology, 22.06.2019 15:00, 2alshawe201
The three logical operators used to write compound conditions are "and," "or," and "not." a: true b: false
Answers: 2
image
Computers and Technology, 23.06.2019 04:00, ittmanny6138
Laire writes a letter to her grandmother, in which she describes an amusement park she visited last week. she adds pictures of that place in her letter. which feature of a word processing program will claire to remove unwanted parts of the pictures?
Answers: 3
You know the right answer?
Working at the Registrar's Office, you have been asked to create a program that helps list the GPA f...

Questions in other subjects:

Konu
Mathematics, 18.12.2020 22:20
Konu
Mathematics, 18.12.2020 22:20
Konu
Mathematics, 18.12.2020 22:20
Konu
Mathematics, 18.12.2020 22:20
Konu
Mathematics, 18.12.2020 22:20