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
Aturning operation is performed with following conditions: rake angle of 12°, a feed of 0.35 mm/rev, and a depth of cut of 1.1 mm. the work piece is aluminum alloy 6061 with t6 heat treatment (a16061-t6). the resultant chip thickness was measured to be 1.0 mm. estimate the cutting force, fc. use shear stress of 207 mpa and coefficient of friction on the tool face of 0.6.
Answers: 1
question
Engineering, 04.07.2019 18:20
Water vapor initially at 10 bar and 400 °c is contained within a piston-cylinder assembly. the water lost heat to the surrounding according to isochoric (iso-volumetric) process until its temperature is 150 °c. the water is then condensed isothermally to saturated liquid. for the water as a system, calculate the work in kj/kg
Answers: 2
question
Engineering, 04.07.2019 19:10
Arigid tank contains 10 kg of air at 137 kpa (abs) and 21°c. more air is added to the tank until the pressure and temperature rise to 242 kpa (abs) and 32°c, respectively. determine the amount of air added to the tank. [r-0.287 kj/kg k]
Answers: 3
question
Engineering, 04.07.2019 19:20
List 3 options on how to reduce knocking problens during engine process,
Answers: 2
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
Mathematics, 15.05.2021 06:40
question
Mathematics, 15.05.2021 06:40
question
English, 15.05.2021 06:40
question
Mathematics, 15.05.2021 06:40
Questions on the website: 13722367