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

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Abrake has a normal braking torque of 2.8 kip in and heat-dissipating cast-iron surfaces whose mass is 40 lbm. suppose a load is brought to rest in 8.0 s from an initial angular speed of 1600 rev/min using the normal braking torque; estimate the temperature rise of the heat dissipating surfaces.
Answers: 3
question
Engineering, 04.07.2019 18:10
During a steady flow process, the change of energy with respect to time is zero. a)- true b)- false
Answers: 2
question
Engineering, 04.07.2019 18:10
Aplate clutch has a single pair of mating friction surfaces 250-mm od by 175-mm id. the mean value of the coefficient of friction is 0.30, and the actuating force is 4 kn. a) find the maximum pressure and the torque capacity using the uniform-wear model. b) find the maximum pressure and the torque capacity using the uniform-pressure model.
Answers: 3
question
Engineering, 04.07.2019 18:20
Derive the correction factor formula for conical nozzle i=-(1+ cosa) and calculate the nozzle angle correction factor for a nozzle whose divergence hal-fangle is 13 (hint: assume that all the mass flow originates at the apex of the cone.
Answers: 3
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
question
World Languages, 16.12.2020 08:40
question
World Languages, 16.12.2020 08:40
Questions on the website: 13722367