I have only ever done the very basics in Java and really need help. I have to read innumbers from 1 to 20 and then print true if all the numbers are present and false otherwise. I don't know where to start!
0-Roisin-0
0
Newbie Poster
Recommended Answers
Jump to PostDo you need to read the numbers from a file or from standard input?
if you need to read the numbers from standard input, you just need to have a loop where the numbers get entered into an array, then you would loop through them and test to see if …
All 3 Replies
AceofSpades19
51
Junior Poster in Training
sillyboy
43
Practically a Master Poster
BestJewSinceJC
700
Posting Maven
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.