Multiplication Tab;e

How do I create a program that displays a multiplication table on the print screen?

Comments

  • [b][red]This message was edited by DroopyA at 2003-6-2 11:52:46[/red][/b][hr]
    Off the top of my head, a for loop. Now I usually program in Visual Basic so my Syntax may be a little off, but you would want something like:

    [code]
    Dim intX As Integer
    Dim intY As Integer
    Dim intStart As Integer
    Dim intFinish As Integer

    intStart = 1
    intFinish = 12

    For intX = intStart To intFinish
    For intY = 0 To 9
    Print intX & " * " & int Y & " = " & intX*intY
    Next intY
    Next intX
    [/code]

    Peace
    -N473

    [hr]
    : How do I create a program that displays a multiplication table on the print screen?



Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion