Question
Task description: Forty students were asked to rate the quality of the food in the student cafeteria on a scale of 1 to 10 (1
Task description: Forty students were asked to rate the quality of the food in the student cafeteria on a scale of 1 to 10 (1 meaning awful and 10 meaning excellent). Place the 40 responses in an integer array and summarize the results of the poll.
Here are the 40 responses
1,2,6,4,8,5,9,7,8,10, 1,6,3,8,5,10,3,8,2,7,6,5,7,8,1,2,4,5,6,7, 10,4,3,2,5,6,7,8,9,3
Develop this program in Java with two different array names.
Please use a constructor where you initialize all elements to be zero
Compute in which computation is done and for each response, update the correct element.
Print method & min method in which you call both compute and print methods
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