loading varables

From: Randy Tingley (rtingley_at_nep.net)
Date: 04/03/04


Date: Fri, 2 Apr 2004 19:21:30 -0500

I have a variable "book" which askes the user for four titles which will be
with one patron's name.
How would i load this with a loop?
Some how I am getting lost?
Thank you.

 input Patron's name
  name = reader.readLine("Enter the first patron's name: ");
  patron.setName(p);
  for (int i = 1; i <= 3; i++){
         Book = reader.readLine("Enter the book's title: ");
        Book.setBook(i, Book);