How to do user input value input == item == price ==total | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to do user input value input == item == price ==total

I have used for loop I want to make users input= item (used as array) =price (used as array) =barcode (used as array) https://code.sololearn.com/c0o9lvbsN0KM/?ref=app

19th Dec 2019, 12:25 AM
Shofi Uddin
1 Answer
+ 1
Shofi Uddin , is this solved ? If no, could you please elaborate your question? I got to know that you are asking user to enter barcode of items... Each item cost you are putting into total and find out required amount.then asks user to provide cash... If cash deposit is less than what is total cash required to collect all desired item based on barcode input, you want to do something and you are concerned about this... Could you please elaborate what you want to code in cash deposit is less than required cash ?
23rd Dec 2019, 7:51 PM
Ketan Lalcheta
Ketan Lalcheta - avatar