How can i make a drinks list with it's prices by javascript if else stadements. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can i make a drinks list with it's prices by javascript if else stadements.

like : var orange=15; var lemon=10; var mango=20; var price=x; if(){ } please quick help

9th Nov 2018, 7:28 AM
</SHRAR>
</SHRAR> - avatar
2 Answers
+ 3
if(a<b) console.log(a)
9th Nov 2018, 8:43 AM
Taste
Taste - avatar
+ 1
what ?? pls explain a bit detailed.
9th Nov 2018, 8:49 AM
Sokrat_Poghosyan
Sokrat_Poghosyan - avatar