+ 2

Making a (supermarket) cash deck *with java*

Hi everyone, For a school project I need to make a supermarket checkout. I have already made the GUI which has the name of the products and the + and - buttons, BUT the hardest part is: creating a code which adds the price of the product to the “total now”. At first we need to add the prices of the products in an array (how much the product costs and what the products are called are not very important). The same added products and prices also needs to be written down on the receipt. I REALLY hope someone can help me out because I am REALLY stuck! Thank you very much!

9th Oct 2018, 2:13 PM
Anas
7 Respuestas
+ 3
Try posting the link to your code in the comments here so folks can take a look at it and see what's wrong. Cheers.
9th Oct 2018, 4:31 PM
Tony
Tony - avatar
+ 3
what language at least specify
9th Oct 2018, 4:34 PM
Charan Leo25
Charan Leo25 - avatar
+ 3
Ah Java, that sucks... Well, maybe a Java expert will come along that can help you out. Cheers m8.
9th Oct 2018, 4:36 PM
Tony
Tony - avatar
+ 2
u can search for codes that suits your project needs
9th Oct 2018, 2:29 PM
Charan Leo25
Charan Leo25 - avatar
+ 2
Hi Anthony, thank you for your reaction. The thing is, is that I don’t have a code at all because I don’t know how to start..
9th Oct 2018, 4:32 PM
Anas
+ 1
I am so sorry, I forgot to add the language. it’s Java. thank you!
9th Oct 2018, 4:35 PM
Anas
+ 1
Thanks man!!!
9th Oct 2018, 4:53 PM
Anas