JAVA PROGRAM
(Don’t forget to consider the situation of a=b, ab.)
Example 1:
Input two numbers: 6 2
Array is [6, 5, 4, 3, 2]
Example 2:
Input two numbers: 4 8
Array is [4, 5, 6, 7, 8]
(Do not use Math library to get the average.)
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here