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 08:10
Ihave a music player on my phone. i can buy songs, add them to playlists and play them. obviously it would be redundant to store each song in each playlist; each playlist is just a list of pointers to the songs. for this lab you will simulate this behavior. your program will need to have options to: add songs to the system library (you will store the text of the first line of the song, rather than the audio) add playlists add songs to a playlist list playlists play a playlist list all of the songs in the library with a count of how many times each song has been played remove a song from a playlist remove a playlist remove a song from the library (and thus from all playlists that contain it) note that we will not be checking many error cases. in real programming this would be bad, you should usually try to recognize and respond to as many types of errors as you can. in the context of class we are trying to acquaint you with as many concepts as possible, so for the sake of educational efficiency we will not be checking most errors in this lab, you may assume that your user provides correct input. you may add all appropriate error testing if you wish, but we will not be testing for it.
Answers: 2
question
Computers and Technology, 22.06.2019 10:00
Jackson is teaching the decimal number system. he wants his students to know how to expand numbers by powers of 10. which is the correct order in which digits are assigned values in the decimal number system?
Answers: 1
question
Computers and Technology, 22.06.2019 11:00
Lisa’s company, abc ltd., lost its biggest client and is now facing a financial crunch. most of her colleagues have resigned, but lisa decides to stay with the company and assist the management in overcoming the financial situation. which quality is lisa demonstrating? a. self-management b. cooperativeness c. responsibility d. loyalty
Answers: 2
question
Computers and Technology, 22.06.2019 18:30
Which of the following is an example of intellectual properly! oa. new version of a novelb. journal of ideasc. pages of a bookood. lines of a poem
Answers: 2
You know the right answer?
Write with pseudocode only, REQUIREMENTS:
This program assesses your ability to use functions...
Questions
question
Mathematics, 19.12.2019 03:31
question
Mathematics, 19.12.2019 03:31
Questions on the website: 13722363