I don't understand the requirement: "The getIntegerList() method should read the number N from the keyboard and then return a list of N elements, which has been filled with numbers read from the keyboard.". Ok, but what is it N elements?? How many? I don't understand how many numbers I should type or until what condition (in case of while loop)?
I don't understand task
Resolved
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
Anthony Chalk
19 March 2021, 10:10solution
First read one number (N)
That's how many more numbers you ned to read and add to the list.
e.g. if the first number entered is 10, you need to read ANOTHER 10 numbers and add them to the List
+4