david meng

Greenhorn
+ Follow
since Sep 17, 2007
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
(keep public parts private until JForum day)
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt
Moderation Tools

Recent posts by david meng

good topic, good discussion. remark !
6 years ago
good question and good solution, I just mark this for later review. tks all
7 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--;
}
}

7 years ago