NOTE: Don’t prompt the user for input – this is an exercise passing values to your program via the command line! We’re forcing the user to “push” data values to the application rather than “pull” it from the user!
Odd Sized Example
2 3 4 8 12 16 32 =8 ^
Even Sized Example
1 3 4 12 16 32 =4 + 12 = 16 / 2 = 8 ^ ^
Development / solution guidelines:
The output should be neat, formatted and well organized – should be easy on the eyes (see sample output below).Just as with lab 1, follow through the link below to reference “printf()” method usage in Java.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here