View Single Post
  #5 (permalink)  
Old 12-12-2007, 10:35 AM
gemtez gemtez is offline
Member
 
Join Date: Dec 2007
Posts: 3
gemtez is on a distinguished road
yes it is my whole code, it does run there isn't any syntax errors, but its only working out an average for the last entry i input, i want it to work out an average for all the books, so for e.g. if i input book1, book1, book2, book3, i want it to recognise that book1 has been entered twice BUT it is the same book, and work out an average and give it the ratings.... i know its something to do with in.nextInt(); i'm not sure exactly what this does ive been told its appropriate but i dont know what to do with it or where in the code it will go., thanks for your help, much appreciated by the way
Reply With Quote