Hi, I am new to java and I was hoping somebody could explain how to do the following or provide me a code snippet - any help would be appresiated
I need a method that can loop and prompt the user to enter 2 numbers as int.
Would I use the scanner class to get the user input? Then I need to add them to an ArrayList which can store the two numbers, loop and output the values.