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

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 02:00
Arecipients list has been loaded into a document. which commands should be clicked in order to filter the list so that letters will not be printed for recipients who live in a certain state? mailings tab, start mail merge, select recipients, type new list, then insert only contacts from the desired states mailings tab, rules, select recipients, use existing list, then choose a recipients list that includes only contacts in certain states mailings tab, select recipients, use existing list, rules, fill in, then type in certain states mailings tab, rules, skip record select “state” under field name, then type in the state name under “equal to”
Answers: 2
question
Computers and Technology, 23.06.2019 07:50
Apython programming question: assume s is a string of lower case characters. write a program that prints the number of times the string 'bob' occurs in s. for example, if s = 'azcbobobegghakl', then your program should print number of times bob occurs is: 2
Answers: 3
question
Computers and Technology, 23.06.2019 17:00
*! 20 points! *jeff wants to create a website with interactive and dynamic content. which programming language will he use? a. dhtml b. html c. css d. javascript
Answers: 1
question
Computers and Technology, 23.06.2019 23:30
Perform an online search about the booting process of a computer and list all the steps
Answers: 2
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
question
History, 15.04.2020 17:43
question
History, 15.04.2020 17:43
Questions on the website: 13722361