View Single Post
  #1  
Old 11-10-2009, 09:37 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
Not Matter Assignmnet#2.3; Display ODD number between 1 to 100 using VB Console Application

Code:
Module table
    Sub Main()
        Dim number, answer, counting As Integer
        number = 1
        While number < 100
            answer = number Mod 2
            If answer <> 0 Then
                counting = counting + 1
            End If
            number = number + 1
        End While
        Console.WriteLine("Total odd numbers between 1 to 100 are = {0} ", counting)
        number = Console.Read()
    End Sub
    'This Table program copued from bzupages
End Module
Wrong hay.. Asali wala kal upload ho ga...

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

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

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