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

29th Oct 2016, 4:10 PM
rajesh shrestha
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.
5th Nov 2016, 8:47 PM
Birk
Birk - avatar