Question: HOw would i solve this in java? Specification: Read in integers until the user enters 1. If there were at least three integers, show the

HOw would i solve this in java? HOw would i solve this in java? Specification: Read in integers

Specification: Read in integers until the user enters 1. If there were at least three integers, show the middle average and also show whether the sum of values is divisible by count. If there are less than three integers, print "No average to display". Middle average is the average excluding the biggest and smallest number. Words to Code Table: Sample I/O: Enter an integer ( 1 to exit): 1 Enter an integer (-1 to exit): 2 Enter an integer (-1 to exit): 3 Enter an integer (-1 to exit): 4 Enter an integer (-1 to exit): 6 Enter an integer (-1 to exit): 1 The middle average is: 3.0 The sum is not divisible by count

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!