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:
- 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
- Determine if the number is divisible by 3, 5, 7 and 9 and display in the appropriate cell either Yes or No.
- Display also the number entered by the user
------------------------------------------------------------------------------------------------ Use the HTML document and the given script.Number Divisibily Number by 3 by 5 by 7 by 9
Step by Step Solution
3.46 Rating (153 Votes )
There are 3 Steps involved in it
Heres a JavaScript fun... View full answer
Get step-by-step solutions from verified subject matter experts
