JavaScript program to find largest number from given 2 numbers


+ 2

Following program shows you how to find largest number from given 2 numbers.
In this program we get inputs from user and shows largest number from given two numbers using if condition


Output:

Example1:


Example2:


Example3: