Write a complete C program that analyzes the performance of 4 students in three different subjects: Math, Science, and English. The program should: (i) Prompt the user to input the scores of the 4 students in each subject. Apply a 2D array to store the scores. (ii) Identify which student has the highest average score across all subjects. Apply a non-return value function, include parameter list if necessary. (iii) Identify which student has the lowest average score across all subjects. Apply a non-return value function, include parameter list if necessary. (iv) Calculate the average score for each subject and display it. Apply a return value function, include parameter list if necessary. (v) Determine whether each student is above or below the average performance in each subject. If a student's score in a subject is greater than or equal to the average, then they are above average, else, below average. Requirements: Apply a 2D array. Use functions for better modularization. Display the results clearly for each student and subject. SAMPLE OUTPUT: Enter scores for - Student 1: Math: 85 Science: 92 English: 78 Student 2: Math: 92 Science: 88 English: 95 Student 3: Math: 78 Science: 84 English: 90 Student 4: Math: 95 Science: 79 English: 88 Highest Average: Student 2 [92.50] Lowest Average: Student 3 [84.00] Average Scores: Math: 87.50 Science: 85.75 English: 87.75 Student 1: Math: Above Average Science: Above Average English: Below Average Student 2: Math: Above Average Science: Above Average English: Above Average Student 3: Math: Below Average Science: Below Average English: Above Average Student 4: Math: Above Average Science: Below Average English: Above Average
Write a complete C program that analyzes the performance of 4 students in three different subjects: Math, Science, and English. The program should: (i) Prompt the user to input the scores of the 4 students in each subject. Apply a 2D array to store the scores. (ii) Identify which student has the highest average score across all subjects. Apply a non-return value function, include parameter list if necessary. (iii) Identify which student has the lowest average score across all subjects. Apply a non-return value function, include parameter list if necessary. (iv) Calculate the average score for each subject and display it. Apply a return value function, include parameter list if necessary. (v) Determine whether each student is above or below the average performance in each subject. If a student's score in a subject is greater than or equal to the average, then they are above average, else, below average. Requirements: Apply a 2D array. Use functions for better modularization. Display the results clearly for each student and subject. SAMPLE OUTPUT: Enter scores for - Student 1: Math: 85 Science: 92 English: 78 Student 2: Math: 92 Science: 88 English: 95 Student 3: Math: 78 Science: 84 English: 90 Student 4: Math: 95 Science: 79 English: 88 Highest Average: Student 2 [92.50] Lowest Average: Student 3 [84.00] Average Scores: Math: 87.50 Science: 85.75 English: 87.75 Student 1: Math: Above Average Science: Above Average English: Below Average Student 2: Math: Above Average Science: Above Average English: Above Average Student 3: Math: Below Average Science: Below Average English: Above Average Student 4: Math: Above Average Science: Below Average English: Above Average
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
Note:-Don't try to copy other's work otherwise I'll reduce rating for sure and will report. Don't use AI to generate answer
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 4 steps with 6 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education