david meng

Greenhorn
+ Follow
since Sep 17, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by david meng

good topic, good discussion. remark !
13 years ago
good question and good solution, I just mark this for later review. tks all
13 years ago
In your 2nd for iterator, you should add check-- as below:
for( int check = 0; check < arrayNumbers.length ; check++)
{
if( arrayNumbers[check] == number)
{
System.out.println("Repeat numbers, try again");
System.out.println("Re-enter number:");
number = input.nextInt();
check--;
}
}

13 years ago