Question: Your task is to create the function that will do the following: Called when a user clicks on the button Inside the function it should:

  • Your task is to create the function that will do the following:
    • Called when a user clicks on the button
    • Inside the function it should:
      1. Ask a user to enter an integer number and then give a message if the number is Not greater than 0 and not an integer
      2. Determine if the number is divisible by 3, 5, 7 and 9 and display in the appropriate cell either Yes or No.
      3. Display also the number entered by the user
      4. Number Divisibily
        Numberby 3by 5by 7by 9
         ------------------------------------------------------------------------------------------------ Use the HTML document and the given script.

Step by Step Solution

3.46 Rating (153 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Heres a JavaScript fun... View full answer

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 Programming Questions!