I have to solve few programs in java...
I just need the code
Question 2 . Write a progam that reads a set of integers and then finds and prints
a) The sum of the even and odd integers.
b) The average of the even and odd integers.
c) Highest and lowest of the even and odd integers.
d) The number of the even and odd numbers.
Question 3:
In a gymnastic or diving competition, each contestant’s score is calculated by dropping the lowest and the highest scores and then adding the remaining scores. Write a program that allows the user to enter eight judges’ scores and then outputs the points received by the contestant. Format your output with two decimal places. A judge awards point between 1 and 10, with 1 being the lowest and 10 being the highest. For example, if the scores are 9.2, 9.3, 9.0, 9.9, 9.5, 9.5, 9.6 and 9.8, the contestant receives a total of 56.90 points.