Question: Write a JavaScript program which will ask user to enter two number between 1 and 20. Your program will then output the number, its square,

 Write a JavaScript program which will ask user to enter two

Write a JavaScript program which will ask user to enter two number between 1 and 20. Your program will then output the number, its square, and its cube from the smaller number to the larger number one at a row For example, if user enters 3 and 7 as shown below, your program will output, umbers from 3 to 7, and their squares and cubes This page says: This page says: Enter a number between 1 and 20 Enter a number between 1 and 20: OK Cancel OK Cancel number cube 27 64 125 216 343 square 16 25 36 49

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!