0

Explain it

var num1, num2; num1 = window.prompt("Input the First integer", "0"); num2 = window.prompt("Input the second integer", "0"); if(parseInt(num1, 10) > parseInt(num2, 10)) { console.log("The larger of "+ num1+ " and "+ num2+ " is "+ num1+ "."); } else if(parseInt(num2, 10) > parseInt(num1, 10)) { console.log("The larger of "+ num1+" and "+ num2+ " is "+ num2+ "."); } else { console.log("The values "+ num1+ " and "+num2+ " are equal."); } https://code.sololearn.com/Wt2eYHD65qB2/?ref=app https://code.sololearn.com/W9Twy39Jqf1V/?ref=app https://code.sololearn.com/WuEJPvRDWhrN/?ref=app https://code.sololearn.com/cmw8d8Ya7h2o/?ref=app https://code.sololearn.com/W7xzsXyh00wj/?ref=app https://code.sololearn.com/Wn3bC5n4x6cy/?ref=app https://code.sololearn.com/Whps1H5b1Pi6/?ref=app https://code.sololearn.com/WMl01AC2NDSo/?ref=app https://code.sololearn.com/W5j0zqzbSfMB/?ref=app https://code.sololearn.com/W6vD21nDp8XI/?ref=a

28th Oct 2019, 4:22 AM
ƀějãƛ FÀƂķə
ƀějãƛ FÀƂķə - avatar
2 Answers
+ 6
You don't have to spam, you know. From what I see, that programs show the user what is the biggest number from the 2 numbers he chose. https://www.sololearn.com/discuss/1316935/?ref=app
28th Oct 2019, 4:24 AM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
+ 6
🍇 Alex Tusinean 💜 I think he is new so he don't know .
28th Oct 2019, 4:42 AM
🇼🇳Abhay Pratap Singh🇼🇳
🇼🇳Abhay Pratap Singh🇼🇳 - avatar