Question: question: write a function named greaterNum that: 1)takes 2 arguments, both numbers. 2)returns whichever number is the greater (higher) number. > Call that function 2

question: write a function named greaterNum that:

1)takes 2 arguments, both numbers.

2)returns whichever number is the greater (higher) number.

> Call that function 2 times with different number pairs, and log the

output to make sure it works (e.g. "The greater number of 5 and 10 is

10.").

Write the above function in java script in HMTL Code

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!