subject

Problem 1 in this problem, you will read a set of student data and their grading information from a file and then process them and then write the requested data to another file. in a course, there are n number of students. each student has to complete one assignment, appear m number of quizzes and a final exam. the total score of the student is calculated as follows: the total score = sum of scores from m quizzes + score in the assignment + score in the final exam write a program that will perform the following operation: β€’ create a student structure to store student's last name (one word), scores for one assignment, m quizzes (m is a user input), final exam, and total. take number of students n and number of quizzes m as the input. dynamically allocate memory for n students. for each student dynamically allocate memory to store scores of m quizzes. take input for all the scores for quizzes, assignments, and final exams for all the students. calculate the total scores for each student and store it in the corresponding structure. do this whole task in a separate method and return the appropriate pointer. the function header should look like this: students* readdata(file *in, int *noofrecords, int *noofquiz) β€’ display the student(s) details who achieved the highest total score. also write the same student details into file output. txt sample input: all the inputs, including n and m will come from an input file called input. txt the input file is structured as follows: 32 //n and m adam 10 12 9 45 // last name, assignment score, scors for m number of quizzes, and final exam score jones 8 11 7 41 muhammad 10 12 10 45 sample output. txt: name: muhammad assignment: 10 quizzes: 12 10 final exam: 45 total: 77

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 02:00
Which demographic challenge is europe currently experiencing? a. an aging and decreasing population b. a baby boomc. an unequal distribution between males and females d. a large group of teenagers moving through the school system(i chose a but i'm unsure)
Answers: 1
question
Computers and Technology, 23.06.2019 16:00
Which analyst position analyzes information using mathematical models to business managers make decisions?
Answers: 1
question
Computers and Technology, 24.06.2019 09:10
  to change the number of rows and columns displayed by the excel object a. select the object and drag a size handle on the active object. b. deselect the object and drag a size handle of the object. c. deselect the object and drag a row or column divider of the object. d. select the object and drag a row or column divider on the active object.
Answers: 2
question
Computers and Technology, 24.06.2019 18:30
Is a type of bullying that takes place when a person intentionally posts negative information about another that is not true
Answers: 1
You know the right answer?
Problem 1 in this problem, you will read a set of student data and their grading information from a...
Questions
question
Physics, 17.08.2021 19:20
question
Physics, 17.08.2021 19:30
question
Physics, 17.08.2021 19:30
Questions on the website: 13722360