Exp-7b

0
Q1 - console.log(Date()); Q2 - var a = prompt("Enter the value of a - "); var b = prompt("Enter the value of b - "); a = Number(a); b = Number(b); var sum = a + b; console.log(sum); Q3 - var a = prompt("Enter a - "); var b = prompt("Enter b - "); var c = prompt("Enter c - "); var max_num = Math.max(a,b,c); console.log("Maximum number is - " + max_num); Q4- Odd or Even Checker

Odd or Even Checker

Post a Comment

0Comments

GUYS IF YOU HAVE ANY DOUBT. PLEASE LET ME KNOW

Post a Comment (0)