Scanner Trouble

*Assignment*

I'm very sorry to bother you with this, as it's a school assignment, but I'm having a problem with it. I've tried multiple things and can't seem to get it to work. I was hoping that maybe you guys would be able to point me in the right direction.

The program is supposed to act as a shopping list that takes input from the user then output a sort of receipt with the name of the item and cost. The problem I'm having is after the first time through it outputs:

Would you like to add more items? (Y/N)
y
Enter item name:
apple
Enter item cost:
5.00
Would you like to add more items? (Y/N)
y
Enter item name:
Enter item cost: