Write a script that outputs HTML text that displays the following checkerboard pattern:





Your program may use only three output statements, one of the form

```

document.write( "* " );

```



one of the form

```

document.write( " " );

```



and one of the form

```

document.writeln( "
" );

```



[Hint: Repetition structures are required in this exercise.]


```

1

2

3

4

5

6 Checker Board Pattern

7

8

35

36

37

38

Click Refresh (or Reload) to run this script again.

39

40

```



Computer Science & Information Technology

You might also like to view...

Which of the following exceptions is a checked exception?

a. ArithmeticException. b. IOException. c. RuntimeException. d. InputMismatchException.

Computer Science & Information Technology

Which of the following Windows 7 versions cannot be a Remote Desktop client?

a. Enterprise b. Home Premium c. Professional d. None of the above.

Computer Science & Information Technology

____ machines are designed to directly provide a wide range of powerful features so that finished programs for these processors are shorter.

A. MISC B. SICC C. SISC D. CISC

Computer Science & Information Technology

The initialization of a two-dimensional array is done in ____ order.

A. ascending B. descending C. row D. column

Computer Science & Information Technology