Wednesday, February 9, 2011

Visual Basic 6.0 - Session 12

Write a program that uses nested For loops to fill a 2 dimensional array and then to print out the times tables from 1 – 12 into a picture control using the syntax:

picDisplay Print (variable, [variable] ...]

with a new line for each new times table on the display.

You will definitely need to plot this one out on paper first, writing your algorithms and checking them.  To declare your variable, you need the statement:

Dim arrTables[12,12] As Integer

 

No comments:

Post a Comment