Sarah Candor wrote:As in I'm not sure about the arrays side of it, and how from user input I can make sure the numbers go in the right order etc
Well, there's a wonderful class called Arrays (java.util.Arrays), which contains all sorts of useful utilities. I think you may find a method that fits the bill in there.
Also: don't get overwhelmed by thinking you have to know how to do
everything right now. It's perfectly possible to write a class without having the first clue what code you're actually going to put in it, as
this page shows you.
However, I wholeheartedly second Janeice's advice: Don't start off by coding; start off by
thinking - and that'll involve a lot of paper and pencils (and probably an eraser) ... and NO computer.
Winston