CSci 1101 Lab on loops

Reminder about sftp

This is just a reminder of basic sftp commands.

Alternating colors

Write a program with a loop that generates a table with one row of square cells with no text (set the width and height of the cells as an inline style). Set the background of the cells to alternate between two colors. The number of cells is a variable in your program. Hint: to determine the cell color, use on if/else statement inside the loop to check if the loop counter is odd or even.

To submit

Just upload the two files to rynite AND send me an e-mail with the file names and locations.

This page is a part of CSci 1101 course web site.