subject

Write with pseudocode only, REQUIREMENTS:
This program assesses your ability to use functions, arrays, for loops, and if statements where needed.
You are writing a program to analyze GPAs for Fall 2018 graduating students at NOVA. You begin by asking the user how many students for whom they want to enter GPAs. Validate the response with a while loop to ensure that the value entered is between 0 and 500. Once you have a valid response, a for loop is entered for processing 2 parallel arrays. The size of each of the parallel arrays is equal to the number of students entered by the user.
The first array will store the Student ID and you must use a function to get the Student ID as input and store it in the Student ID array.
The second array will store the GPA for the student, and you must use a function to get the GPA as input, and store it in the GPA array. Use a while or for loop to validate the value of the GPA to make sure that it falls in the range of 0 to 4.0 inclusive.
If you have at least 1 student, print the contents of the parallel arrays meaning the Student ID and GPA. You also need to calculate the average GPA for all students. You must also find the student with the highest GPA and then display that student’s ID and GPA. Finally, you end the program with a goodbye message.
If you do not have any students (meaning if the user entered 0 students when prompted at the beginning of the program), end the program with a goodbye message.
The following functions are required although it is possible to include more functions:
A function to get the Student Id and store it in an array.
A function to get the student’s GPA store it in an array.
A function to validate a range of numbers. You can use this function to validate the number of students and/or the GPA.
The next page shows the output from the program running with some test data. Remember that your program must run for any number of students and not just these 3 students and data shown below.
It's time for NOVA’s Fall 2018 graduation. We need to analyze student GPAs.

Please enter the number of students:
3
Student 1
Please enter the student ID:
1234567
Please enter the GPA:
3.3
Student 2
Please enter the student ID:
2345678
Please enter the GPA:
4.0
Student 3
Please enter the student ID:
9876543
Please enter the GPA:
2.0
GPA Analysis
Student ID GPA
1234567 3.3
2345678 4.0
9876543 2.0
Average GPA 3.1
Thanks For Using Our Program

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 15:10, tmmackie9261
What is word processing and word wrap?
Answers: 1
image
Computers and Technology, 21.06.2019 22:00, taniyahreggienae
What is the most important aspect of marking media? a. data labelingb. content descriptionc. electronic labelingd. classification
Answers: 2
image
Computers and Technology, 22.06.2019 22:20, gingerham1
Avariable of the data type arrays is storing 10 quantities. what is true about these quantities? a. the quantities all have different characteristics. b. the quantities all have the same characteristics. c. five quantities have the same and five have different characteristics. d. it is necessary for all quantities to be integers. e. it is necessary for all quantities to be characters.
Answers: 2
image
Computers and Technology, 23.06.2019 04:31, manlyman31
Selling a product through an electronic medium is
Answers: 1
You know the right answer?
Write with pseudocode only, REQUIREMENTS:
This program assesses your ability to use functions...

Questions in other subjects:

Konu
Mathematics, 06.05.2021 19:30
Konu
Mathematics, 06.05.2021 19:30
Konu
Mathematics, 06.05.2021 19:30
Konu
Mathematics, 06.05.2021 19:30