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!
Jump to Post
Do 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
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.