Hi, Please indicate what you are having trouble with in your code. I don't think anyone has the time to figure this out! I can tell you are very new. I myself am a newbie so I'll give you some tips.
1. Your code is too cluttered. Instead of inserting all this in the main method, try using classes and have the main method as the basis for instantiating those classes. I always call mine "DRIVER.CLASS".
2. Try creating a class called "CASHREGISTER.CLASS" since this is the object you want to model.
3. Within "CASHREGISTER.CLASS", create methods for each action that you would like to perform. This will make it easier for others to read and maintain your programs.
Question? Have you even tried to run this program?