Question: Write JavaScript program that will use prompt function to ask user for two numbers and then use write method todisplay the larger of the two

Write JavaScript program that will use prompt function to ask user for two numbers and then use write method todisplay the larger of the two numbers entered, their sum, difference, product and quotient. Your JavaScript code needs to be in a separate file that needs to be linked to a basic html document using script tag. Submit both JavaScript file and html file.

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!