Question 2:. Write a JavaScript program to demonstrate a given number is even or odd with the following requirement on t
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Question 2:. Write a JavaScript program to demonstrate a given number is even or odd with the following requirement on t
Question 2:. Write a JavaScript program to demonstrate a given number is even or odd with the following requirement on the webpage. 5 marks Student name: JavaScript application This is an EVEN number Enter number: Check number is prime or not WEBPAGE: Add a Textbox to enter the number. ADD a button to check the number is even or odd. On clicking the button a window alert message on screen should come to display whether the number is ODD or EVEN. JavaScript Application) This is an EVEN number Example: window alert message. OK