Forum: Java Nov 9th, 2008 |
| Replies: 3 Views: 441 This is the code so far
public class array
{
//This gerts 5 unique numbers from the user
public void getNumbers()
{
Scanner input = new Scanner( System.in );
new int[5]... |
Forum: Java Nov 9th, 2008 |
| Replies: 3 Views: 441 Hi, I am having some trouble with arrays.
I have an array of 5 elements. The values of the array are integers. I want to validate the input using an if statement. (the numbers must be between 10... |