Write a script that reads an integer and determines and outputs HTML text that displays whether it is odd or even. (Hint: Use the modulus operator. An even number is a multiple of 2. Any multiple of 2 leaves a remainder of zero when divided by 2.)

What will be an ideal response?


```


1


2


3


4


5


6 Even or Odd


7


8


22


23


24

Click Refresh (or Reload) to run this script again




25


26


```








Computer Science & Information Technology

You might also like to view...

The text in the slide in the accompanying figure was created using a WordArt style.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

The main difference between a letter and a memo is the target ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

Describe line coding and list the four major categories.

What will be an ideal response?

Computer Science & Information Technology

You can use ____________________ bars to help show how many days a noncritical task can be delayed and not affect the project Finish date.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology