View Single Post
  #1  
Old 11-10-2009, 08:59 PM
.BZU.'s Avatar
.BZU. .BZU. is offline


 
Join Date: Sep 2007
Location: near Govt College of Science Multan Pakistan
Posts: 9,693
Contact Number: Removed
Program / Discipline: BSIT
Class Roll Number: 07-15
.BZU. has a reputation beyond repute.BZU. has a reputation beyond repute.BZU. has a reputation beyond repute.BZU. has a reputation beyond repute.BZU. has a reputation beyond repute.BZU. has a reputation beyond repute.BZU. has a reputation beyond repute.BZU. has a reputation beyond repute.BZU. has a reputation beyond repute.BZU. has a reputation beyond repute.BZU. has a reputation beyond repute
Cool Assignmnet#2.1; Display Table of giving number using VB Console Application

Assignmnet#2.1; Display Table of giving number using VB Console Application

Code:
Module table
    Sub Main()
        Dim number As String
        Dim multiplier, cinnumber, answer As Integer
        number = Console.ReadLine()
        cinnumber = number
        multiplier = 0
        While multiplier < 10
            multiplier = multiplier + 1
            answer = cinnumber * multiplier
            Console.WriteLine("{0} * {1} = {2} ", cinnumber, multiplier, answer)

        End While
        Console.WriteLine("Press Enter to Close this window")
        number = Console.Read()
    End Sub
    'This Table program copued from bzupages
End Module

__________________
(¯`v´¯)
`*.¸.*`

¸.*´¸.*´¨) ¸.*´¨)
(¸.*´ (¸.
Bzu Forum

Don't cry because it's over, smile because it happened
Reply With Quote