Java program average of three numbers

Given three numbers, the average of the three numbers can be calculated by :
average = sum of the three numbers
               --------------------------------
                                 3




Output:

Enter the three numbers to get average:
3 4 5
The average of entered 3 numbers is 4.0

Implementation: