Question: array 1 dimension c programming 3.6 Write a program that reads Mathematic test marks of 10 (ten) student and stores it to a 1-dimensional (1-D)

array 1 dimension
c programming
3.6 Write a program that reads Mathematic test marks of 10 (ten) student and stores it to a 1-dimensional (1-D) array named studentmark1. Then, determine the followings: (a) Average marks of the test (b) Highest mark (c) Lowest mark (d) Suppose that pass mark is 60 and above. Determine the number of passed and failed students. The sample output should be as follows: Enter test marks: 72 64 53 81 40 90 76 39 68 84 Average marks : 66.70 Highest mark : 90.00 Lowest mark : 39.00 Number of passed students: 7 Number of failed students: 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
