subject
Engineering, 25.05.2021 15:50 natishtaylor1p8dirz

Assume that a file contains students’ ids, full names, and their scores (Assignments grade, quizzes grade, Midterm grade, Practical exam grade, and final exam grade) (each column is separated by $). You are required to write a C program to do the following:  Using the concept of parallel arrays create records for students with above attributes (id, full name, score).(you are not allowed to use structure)  Ask the user to enter the input file name and read it (suppose that, there are different files you could read data from). Read the data from the file and store it in record for students, which has IDs, Names, and Scores. The IDs should be declared as integers, the Names as a two-dimensional array of characters and the Scores as doubles. Assume that the maximum length of full name of any student is 50 characters. Also, you may assume that there will be No more than a 1000 student records in the file.  Calculate the final grade as the flowing: Grade= (Assignment)*15%+(Quizzes) *15%+(Midterm exam) *25%+(Practical Exam) *10%+(Final) *35% Assuming that data in files are arranged in same order of the above equation with respect to grades Hint: read form file, calculate the final score, and store it in the record before going to the next step.  Display the following menu to the user and read the entered choice: 1) Sort data in ascending order according to students’ IDs and then display it. 2) Sort data in ascending order according to students’ names and then display it. 3) Sort data in descending order according to students’ scores and then display it. Note: After running any of the above menus items, ask the user if he/she would like to save the current result, if so, prompt user to enter file name. 4) Ask the user to enter a student ID and display his score 5) Ask the user to enter a student name and display his score 6) Exit the program  The program should keep displaying the menu until the user selects to exit from the program. Implement each of the first five menu options as a separate function. The attached

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 16:10
The force on a cutting tool are 2600n vertically downward and 2100 horizontal. determine the resultant force acting on the tool and the angle at which it acts.
Answers: 1
question
Engineering, 04.07.2019 18:10
Apipe with an outside diameter of 15 cm is exposed to an ambient air and surrounding temperature of -20°c. the pipe has an outer surface temperature of 65°c and an emissivity of 0.85. if the rate of heat loss from the pipe surface is 0.95 kw per meter of length, the external convective heat transfer coefficient (h) is: (a) 12.5 w/m"k (b) 18.6 w/mk (c) 23.7 w/mk (d) 27.9 w/mk (e) 33.5 w/mk
Answers: 1
question
Engineering, 04.07.2019 18:10
The filament of an incandescent lamp has a temperature of 2000k. calculate the fraction of radiation emitted in the visible light band if the filament is approximated as blackbody
Answers: 2
question
Engineering, 04.07.2019 18:10
Ahot wire operates at a temperature of 200°c while the air temperature is 20°c. the hot wire element is a tungsten wire of 5 um diameter and 2 mm in length. plot using excel current, heat transfer and heat generated by the wire for air velocity varying from 1-10 m/s in steps of lm/s? matlab the sensor voltage output, resistance, or assume nu 0.989 re033pr13 take air properties at tr (200°c20°c)/2 = 110°c properties of tungsten: c 0.13 kj/kg.k 3 p 19250 kg/m k (thermal conductivity) = 174 w/m.k
Answers: 2
You know the right answer?
Assume that a file contains students’ ids, full names, and their scores (Assignments grade, quizzes...
Questions
question
Mathematics, 18.03.2021 02:50
question
English, 18.03.2021 02:50
question
English, 18.03.2021 02:50
question
Mathematics, 18.03.2021 02:50
question
English, 18.03.2021 02:50
question
Mathematics, 18.03.2021 02:50
Questions on the website: 13722360