BZU PAGES: Find Presentations, Reports, Student's Assignments and Daily Discussion; Bahauddin Zakariya University Multan Right Header

Register FAQ Community Calendar New Posts Navbar Right Corner
HOME BZU Mail Box Online Games Radio and TV Cricket All Albums
Go Back   BZU PAGES: Find Presentations, Reports, Student's Assignments and Daily Discussion; Bahauddin Zakariya University Multan > Institute of Computing > Bachelor of Science in Information Technology > BsIT 5th Semester > Visual Programming

Visual Programming Sir Ahsan


Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 11-10-2009, 09:26 PM
.BZU.'s Avatar


 
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.2; Identify given number odd/even using VB Console Application

Assignmnet#2.2; Identify given number odd/even using VB Console Application
Code:
Module table
    Sub Main()
        Dim number As String
        Dim  cinnumber, answer As Integer
        number = Console.ReadLine()
        cinnumber = number
        answer = cinnumber Mod 2
        If answer = 0 Then
            Console.WriteLine("even ")
        Else
            Console.WriteLine("odd")
        End If

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

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

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

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

Tags
application, assignmnet#22, console, identify, number, odd or even


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Power Series (SIMPLE,EXTENDED) Visual Basic Console Application Code By Wasif .BZU. Visual Programming 0 15-12-2009 11:25 PM
Assignment Q1:Add two matrices of 2x3 using vb console Application shmsa Visual Programming 1 10-12-2009 08:01 AM
Assignmnet#2.3; Display ODD number between 1 to 100 using VB Console Application .BZU. Visual Programming 1 12-10-2009 02:56 PM
Assignmnet#2.1; Display Table of giving number using VB Console Application .BZU. Visual Programming 0 11-10-2009 08:59 PM
Assignmnet#1; Arithmetic operation using VB Console Application .BZU. Visual Programming 1 04-10-2009 10:22 PM

Best view in Firefox
Almuslimeen.info | BZU Multan | Dedicated server hosting
Note: All trademarks and copyrights held by respective owners. We will take action against any copyright violation if it is proved to us.

All times are GMT +5. The time now is 05:29 PM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.