Greatest among any three numbers using JavaScript
<html> <head> <script> function largestnum() { var num1, num2, num3; num1 = Number(document.getElementById("F").value); num2 = Number(document.getElementById("S").value); num3 = Number(document.getElementById("T").value); if(num1>num2 && num1>num3) { alert(num1+"-is greatest"); } else if(num2>num1 && num2>num3) …
Greatest among any three numbers using JavaScript Read More