Write a complete C program that analyse result of final result of Mathematic subject. The program must consists parallel array, which is 2 dimensional array named student to store maximum of 50 students and 1 dimensional array to store final marks. Both arrays must be Initialized to 0 during declaration. The final mark of the subject is measured as follows: Final mark-0.3°Midterm Marks + 0.7* Final Exam Marks; Then, determine the followings: (1) Display list of passed students and their final mark (i) Display list of falled students and their final mark (iii) Name of student with highest mark and his/her final mark (iv) Name of student with lowest mark and his/her final mark (v) Average mark The program should receive number of students, and then ask user to input midterm test mark and final exam marks based on number of students given beforehand. The maximum number of student can be input is 50 students. The sample output should be as follows:

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

Please answer honestly using C programming

Write a complete C program that analyse result of final result of Mathematic subject. The
program must consists parallel array, which is 2 dimensional array named student to store
maximum of 50 students and 1 dimensional array to store final marks. Both arrays must be
initialized to 0 during declaration. The final mark of the subject is measured as follows:
(a)
Final mark=0.3°Midterm Marks + 0.7* Final Exam Marks;
Then, determine the followings:
(i)
Display list of passed students and their final mark
(ii) Display list of failed students and their final mark
(iii) Name of student with highest mark and his/her final mark
(iv) Name of student with lowest mark and his/her final mark
(v) Average mark
The program should receive number of students, and then ask user to input midterm test
mark and final exam marks based on number of students given beforehand. The maximum
number of student can be input is 50 students. The sample output should be as follows:
Enter no of students (max=50 students) : 6
: Ahmad
: 86 75
Enter Student Name
Enter Midterm & Final Marks
Enter Student Name
: Abu
Enter Midterm & Final Marks
: 77 65
: Ali
: 89 88
Enter Student Name
Enter Midterm & Final Marks
: Siti
: 35 39
Enter Student Name
Enter Midterm & Final Marks
: Nadia
: 56 45
Enter Student Name
Enter Midterm & Final Marks
: Farah
: 63 61
Enter Student Name
Enter Midterm & Final Marks
Transcribed Image Text:Write a complete C program that analyse result of final result of Mathematic subject. The program must consists parallel array, which is 2 dimensional array named student to store maximum of 50 students and 1 dimensional array to store final marks. Both arrays must be initialized to 0 during declaration. The final mark of the subject is measured as follows: (a) Final mark=0.3°Midterm Marks + 0.7* Final Exam Marks; Then, determine the followings: (i) Display list of passed students and their final mark (ii) Display list of failed students and their final mark (iii) Name of student with highest mark and his/her final mark (iv) Name of student with lowest mark and his/her final mark (v) Average mark The program should receive number of students, and then ask user to input midterm test mark and final exam marks based on number of students given beforehand. The maximum number of student can be input is 50 students. The sample output should be as follows: Enter no of students (max=50 students) : 6 : Ahmad : 86 75 Enter Student Name Enter Midterm & Final Marks Enter Student Name : Abu Enter Midterm & Final Marks : 77 65 : Ali : 89 88 Enter Student Name Enter Midterm & Final Marks : Siti : 35 39 Enter Student Name Enter Midterm & Final Marks : Nadia : 56 45 Enter Student Name Enter Midterm & Final Marks : Farah : 63 61 Enter Student Name Enter Midterm & Final Marks
List of Passed Students
Ahmad
78.30
Abu
68.60
Ali
88.30
Nadia
48.30
Farah
61.60
List of Failed Student
Siti 37.80
Highest Mark : Ali 88.30
: Siti 37.80
Average Score : 63.82
Lowest Mark
Transcribed Image Text:List of Passed Students Ahmad 78.30 Abu 68.60 Ali 88.30 Nadia 48.30 Farah 61.60 List of Failed Student Siti 37.80 Highest Mark : Ali 88.30 : Siti 37.80 Average Score : 63.82 Lowest Mark
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

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