r/programmingrequests • • Mar 23 '17

[Request] Basic Java program

I need a program that restricts an array to size 2 or 3 and then sort it from smallest to largest? Additionally I need the program to print an error message if the array size is not 2 or 3 Thank you for all the help I really appreciate it.

0 Upvotes

6 comments sorted by