Java, Java, Java 3E

Chapter 6: Control Structures
Ch 6 Lab: Multiplication Table

Click here for the lab writeup writeup.html

Brief Description

Write a Java applet that displays a variable sized triangular multiplication table. The table should consist of from 1 to 12 rows. It requires a nested counting loops, which are used to print out a multiplication table. It uses a simple applet interface, including TextArea and TextField components. It can be used to illustrate some of the basic TextArea methods, such as append() and setText(). It also uses escape sequences to format the output in the TextArea. The objectives of this lab are: The following demo program illustrates how the applet should work.

Multiplication Table