0
How decrease remaining items after each use?
I am making a vending machine program. I want the program to count how much is left after an item is sold but it always resets the remaining amount to 30 instead of 28 after being used once https://www.sololearn.com/Codes?ordering=MyCodes&query=&language=
4 Antworten
+ 3
Alejandro Moran
There is + New Code
Just swipe Create section right to left
+ 1
Please attempt the code first, click the right '+' icon and then click insert code on the top left side you can see drop-down menu and then click my code bits and share the code
+ 1
I dont see any '+' in the Playground.
0
Alright, i shared the code and put the link under the question