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
Get step-by-step solutions from verified subject matter experts
