0

Need help How to insert in while loop if the users put wrong number different from array given

Hello everyone back again on my codings .... I need helps on while loop infinite loop here I attached my code. I need to show if the user put different numbers or other letters show messages that "invalide number" https://code.sololearn.com/chGNKj5X5VId/?ref=app

30th Nov 2019, 9:10 PM
Shofi Uddin
2 Respuestas
+ 1
Line 22: if(barcode==price);{ );{ ?
30th Nov 2019, 9:54 PM
Bilbo Baggins
Bilbo Baggins - avatar
0
Line 22 is if barcode is equal to the price If show the total price
30th Nov 2019, 9:58 PM
Shofi Uddin