There are 60 students enrolled in CENG 104 class. Students fake 1 quiz, 1 midferm exam and 1 fin exam throughout the semester. The teacher of the lesson enters the school number, the studen name, and 3 exam grades from the keyboard. Information entries will be made in the main func After all entries have been completed, the teacher will enter only one of the students' number to out the average point of the student. Assume that average point will be calculated as follows. The total of all exam points will be devided with the number of exams. The program will check whether the student is in the class list, and if the student number entered the class list, a "void" type function will be called to find the average point with this student's num No search operation will be performed to find the student record within this function. The averag point found in that "void" type function will be recorded in the member variable named averag the student and average point value of the student will be printed on the screen together with student name in main function (not in the void function).

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
There are 60 students enrolled in CENG 104 class. Students take 1 quiz, 1 midterm exam and 1 final
exam throughout the semester. The teacher of the lesson enters the school number, the student's
name, and 3 exam grades from the keyboard. Information entries will be made in the main function.
After all entries have been completed, the teacher will enter only one of the students' number to find
out the average point of the student. Assume that average point will be calculated as follows.
The total of all exam points will be devided with the number of exams.
The program will check whether the student is in the class list, and if the student number entered is in
the class list, a "void" type function will be called to find the average point with this student's number.
No search operation will be performed to find the student record within this function. The average
point found in that "void" type function will be recorded in the member variable named average of
the student and average point value of the student will be printed on the screen together with
student name in main function (not in the void function).
For this purpose, the structure with those member variables that are school number(integer), student
name (char array with 25 elements), exam grades (integer array with 3 elements) and average
grade (float) will be defined.
The program will be prepared in a way that all 60 students data will be entered that are student
number, student name and 3 exam grades. Only one student average point will be calculated (no
need to loop to find the average point of more than one student).
Transcribed Image Text:There are 60 students enrolled in CENG 104 class. Students take 1 quiz, 1 midterm exam and 1 final exam throughout the semester. The teacher of the lesson enters the school number, the student's name, and 3 exam grades from the keyboard. Information entries will be made in the main function. After all entries have been completed, the teacher will enter only one of the students' number to find out the average point of the student. Assume that average point will be calculated as follows. The total of all exam points will be devided with the number of exams. The program will check whether the student is in the class list, and if the student number entered is in the class list, a "void" type function will be called to find the average point with this student's number. No search operation will be performed to find the student record within this function. The average point found in that "void" type function will be recorded in the member variable named average of the student and average point value of the student will be printed on the screen together with student name in main function (not in the void function). For this purpose, the structure with those member variables that are school number(integer), student name (char array with 25 elements), exam grades (integer array with 3 elements) and average grade (float) will be defined. The program will be prepared in a way that all 60 students data will be entered that are student number, student name and 3 exam grades. Only one student average point will be calculated (no need to loop to find the average point of more than one student).
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY