Answered step by step
Verified Expert Solution
Question
1 Approved Answer
How would I code this in C programming? NOT C++ Just C programming. Also, if possible, I would appreciate a screenshot of the code with
How would I code this in C programming? NOT C++ Just C programming. Also, if possible, I would appreciate a screenshot of the code with how it looks compiled to make things easier and to copy and paste the code text when you reply here. Please complete all of the tasks listed in the bullet points. Thank you.
Goals 1. Calculate the highest, lowest, and average grades using a 2-dimensional array Tasks Ask the user to enter 5 grades each for 3 students. Store all grades in a 2-dimensional array then calculate the following statistics on the grades: Display each student's average Display the overall class average Display the highest and lowest grades in the entire class Make sure that your code compiles and runs successfully, Submit your C code via Blackboard An example run of the program is shown in the table below: Enter grade 1 for student 1 100 Enter grade 2 for student 1. 95 Enter grade 3 for student 1: 101 Enter grade 4 for student 1 87 Enter grade 5 for student 1 90 Enter grade 1 for student 2: 90 Enter grade 2 for student 2: 95 Enter grade 3 for student 2: 97 Enter grade 4 for student 2: 85 Enter grade 5 for student 2: 90 Enter grade 1 for student 3: 75 Enter grade 2 for student 3: 60 Enter grade 3 for student 3: 72 Enter grade 4 for student 3 77 Enter grade 5 for student 3: 90 Average grade for student 1 94.6 Average grade for student 2 91.4 Average grade for student 3: 74.8 Average grade for entire class: 86.93 Highest grade in class: 101 ade in class 60 Lowest
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started