0
Please help me in this programming
read only the information of 9 books from "book.list" skipping 2 books from first and 2 books from last and display in terminal
1 Answer
+ 1
something like this would work.
for (int i = 2; i < book.list.size() - 2; i++)
{
console.out.println(book.list[i]);
}
please note that this is pseudo code.
read up on "for loops", thats what is needed here I think.