X850: Writing a Method 2

For this program you will be creating a method that calculates the average of three numbers.

Recall that an average is calculated by adding a group of numbers and then dividing by the count of those numbers.

Your method will need to be named average and will need to return a double. It will need to take in three integers as parameters and return the average (the sum of all three numbers divided by the number of numbers - or 3 in this case).

Your Answer:

Reset

Practice a different Java exercise

Feedback

Your feedback will appear here when you check your answer.