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

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:30
One subtask in the game is to roll the dice. explain why is roll the dice an abstraction.
Answers: 3
question
Computers and Technology, 23.06.2019 03:50
Iam a bacterium. i cause stomach cramps and diarrhea. i am caused by eating rotten foodssuch as chicken, fish, or eggs. sometimes turtles carry my bacteria.what am i?
Answers: 2
question
Computers and Technology, 23.06.2019 20:50
3.11.3 quiz: comparing and analyzing function typesquestion 4 of 102 pointswhat can you say about the y-values of the two functions f(x) = 3x2-3 andg(x)=2* - 3?
Answers: 2
question
Computers and Technology, 24.06.2019 01:00
Mastercard managers are motivated to increase (1) the number of individuals who have and use a mastercard credit card, (2) the number of banks and other clents who issue mastercards to customers and/or employees, and (3) the number of locations that accept mastercard payments. discuss how mastercard could use its data warehouse to it expand each of these customer bases.
Answers: 3
You know the right answer?
Write with pseudocode only, REQUIREMENTS:
This program assesses your ability to use functions...
Questions
Questions on the website: 13722362