Write a C-program to read marks in the Programming and Data Structure Laboratory (out of 100) for N (to be read before) students. Consider the interval of marks 0-5, 6-10, 11-15, and so on. Note that the first interval contains 6 numbers, and other intervals are of 5 numbers. Find the interval of marks having maximum number of students in the class and compute the difference between its center point from the mean of the distribution of marks. Provide results for the following inputs: 1. N=20 45, 56, 60, 15, 80, 90, 12, 85, 35, 58, 63, 73, 52, 78, 47, 23, 14, 58, 18, 96 2. N=30 54, 65, 6, 51, 8, 9, 21, 58, 53, 85, 36, 37, 25, 87, 19, 93, 44, 85, 17, 69, 40, 0, 3, 33, 16, 63, 95, 69, 74, 38
Write a C-program to read marks in the
Structure Laboratory (out of 100) for N (to be read before) students.
Consider the interval of marks 0-5, 6-10, 11-15, and so on. Note that
the first interval contains 6 numbers, and other intervals are of 5
numbers. Find the interval of marks having maximum number of
students in the class and compute the difference between its center
point from the mean of the distribution of marks.
Provide results for the following inputs:
1. N=20
45, 56, 60, 15, 80, 90, 12, 85, 35, 58,
63, 73, 52, 78, 47, 23, 14, 58, 18, 96
2. N=30
54, 65, 6, 51, 8, 9, 21, 58, 53, 85,
36, 37, 25, 87, 19, 93, 44, 85, 17, 69,
40, 0, 3, 33, 16, 63, 95, 69, 74, 38
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images