Javascript program to calculate the square and cube of numbers from 1 to 10 in alert dialogue box - Anna University Multiple Choice Questions

Javascript program to calculate the square and cube of numbers from 1 to 10 in alert dialogue box

This is one of the simple Java script program to calculate the square and cube of numbers from 1 to 10 in alert dialogue box.
JavaScript dialogue box Tutorial
JavaScript dialogue box Tutorial

  • Copy the above given coding and save it as anyname.html
  • Open the saved file in any web browser.
  • You will get an output like shown below.

No comments:

Post a Comment