Computers and Technology

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.

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 08:00, razielcornils04
What is the algorithm for building a binary tree program
Answers: 2
image
Computers and Technology, 22.06.2019 10:00, banna01man
You need a reliable network for about twenty-five computers that will be distributed across a large building. it is important that the network be relatively cheap. which topology should you use?
Answers: 1
image
Computers and Technology, 22.06.2019 12:40, Rententen3845
How do i get the most points, without any effort?
Answers: 2
image
Computers and Technology, 22.06.2019 21:50, dijaflame67
Answer the following questions regarding your system by using the commands listed in this chapter. for each question, write the command you used to obtain the answer. a. what are the total number of inodes in the root filesystem? how many are currently utilized? how many are available for use? b. what filesystems are currently mounted on your system? c. what filesystems are available to be mounted on your system? d. what filesystems will be automatically mounted at boot time?
Answers: 1
Do you know the correct 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
Physics, 15.07.2020 14:01