Computers and Technology

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

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 16:20, Aleja9
It policy compliance and emerging technologies respond to the following: propose at least three control measures that organizations need to put in place to ensure that they remain complaint with emerging technologies and in a continually changing it environment. examine the correlation of effective configuration management and change control procedures to remain compliant with emerging technologies and it security changes.
Answers: 2
image
Computers and Technology, 22.06.2019 22:00, robert7248
Competent nonverbal communication involves interacting with others in a manner that is appropriate for which of the following? select all that apply. situation task individuals
Answers: 3
image
Computers and Technology, 23.06.2019 09:20, lovely222
How to print: number is equal to: 1 and it is odd number number is equal to: 2 and it is even number number is equal to: 3 and it is odd number number is equal to: 4 and it is even number in the console using java using 1 if statement, 1 while loop, 1 else loop also using % to check odds and evens
Answers: 3
image
Computers and Technology, 25.06.2019 04:00, norsenorma
Has anyone noticed that has been giving the wrong answers and that the ads are blocking answers or is that just me?
Answers: 2
Do you know the correct answer?
Problem 1 in this problem, you will read a set of student data and their grading information from a...

Questions in other subjects: