Results 1 to 6 of 6

Thread: Hystograph

Threaded View

  1. #1

    Thread Starter
    Fanatic Member Loraine's Avatar
    Join Date
    Aug 2006
    Location
    8ft. underground
    Posts
    581

    Hystograph

    Code:
    Dim ctr As Integer
    Dim i As String
    
    For ctr = 1 To 10
        If ctr Mod 2! = 0 Then
        Print ctr
        End If
    Next
    Well this is simple how to print an asterisk base on the answer of the if statement. the if statement will output all the even numbers base on the for loop
    Last edited by Loraine; Jul 21st, 2007 at 08:58 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width