JavaScript program to find the largest among three numbers:
let num1 = 5;
let num2 = 10;
let num3 = 8;
let largest = Math.max(num1, num2, num3);
console.log("The largest number among " + num1 + ", " + num2 + " and " + num3 + " is " + largest);
JavaScript program to find the largest among three numbers:
let num1 = 5;
let num2 = 10;
let num3 = 8;
let largest = Math.max(num1, num2, num3);
console.log("The largest number among " + num1 + ", " + num2 + " and " + num3 + " is " + largest);