subject
Engineering, 22.11.2019 06:31 sammamamam1090

High school usa has been keeping track of their students based on the gpas of the students (you can assume that all students are of the same classification). at the end of the year, they must identify who is/are the valedictorian(s) and salutatorian(s). gpas are only stored with two decimal places and are never above 4.00. additionally, students with the same gpa share the title. using a heap, you are to write a program that will read student gpa data from file with the format where the student data is sorted by last name, then first name. if any students have the same last name and first name, then their middle initial is added to their first name. no separate variable is given for middle initial. lastname, firstname, #.##after all data has been read from the file, the program should output, valedicatorian(s): firstname lastname, ….salutatorian(s): firstname lastname, …given the data in file, sample output isvaledicatorian(s): jessica rosssalutatorian(s): pablo carter, chelsea harringtonhere is the data file the program reads from: carrington, alexia,3.56carter, pablo,3.87harrington, chelsea,3.87harris, jacolby,3.54henderson, parker,2.98hilton, porsha,2.89johnson, mary,3.75johnson, jacob,2.68king, courtney,2.78perez, michael,3.45rockefella, hova,2.95ross, jessica,3.89wilson, charlie,3.45

ansver
Answers: 1

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, xboxdude06
Slip occurs via two partial dislocations because of (a) the shorter path of the partial dislocation lines; (b) the lower energy state through partial dislocations; (c) the charge balance.
Answers: 1
image
Engineering, 04.07.2019 18:20, hayleymckee
Steam enters a converging nozzle at 3.0 mpa and 500°c with a at 1.8 mpa. for a nozzle exit area of 32 cm2, determine the exit velocity, mass flow rate, and exit mach number if the nozzle: negligible velocity, and it exits (a) is isentropic (b) has an efficiency of 94 percent
Answers: 2
image
Engineering, 04.07.2019 18:20, annette211pdd8v9
For a gate width of 2 m into the paper, determine the force required to hold the gate abc at its location.
Answers: 1
image
Engineering, 04.07.2019 19:20, carterdaw
Aseries piping system conveys methyl alcohol. the system consists of 70 m of 1- nominal pipe follow by 50 m of 2-nominal pipe, both schedule 40 commercial steel. the 1-nominal pipe contains 3 90° elbows (regular) anda fully open gate valve, all threaded. the pressure drop through the system is 150 kpa. determine the volume flow rate through the system that is horizontally laid.
Answers: 1
You know the right answer?
High school usa has been keeping track of their students based on the gpas of the students (you can...

Questions in other subjects:

Konu
Mathematics, 01.12.2021 07:20
Konu
Mathematics, 01.12.2021 07:20
Konu
Physics, 01.12.2021 07:20