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

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 Rating: Thread Rating: 1 votes, 5.00 average. Display Modes
  #1  
Old 20-12-2009, 12:52 PM
!!Ahmad Mushtaq!!'s Avatar
Warning!: Computer Maniac


 
Join Date: Oct 2007
Location: In Umer Hall. Permanent Address : Zahir Pir, RYK, Punjab.
Age: 34
Posts: 237
Contact Number: Sorry. You can contact me through email... Thanks!
Program / Discipline: BSIT
Class Roll Number: 07-45
!!Ahmad Mushtaq!! has a spectacular aura about!!Ahmad Mushtaq!! has a spectacular aura about!!Ahmad Mushtaq!! has a spectacular aura about
Default Factorial Program (by Ahmad Mushtaq)

Factorial Program


Code:
Module Module1
   
   Sub Main()
   Dim input As Integer
   Dim result As Double
   
          Console.WriteLine("Please input your value for factorial")
          input = Console.ReadLine
   
          result = calculateFactorial(input)
   
          Console.WriteLine(result)
          Console.Read()
   
   End Sub
   
   Function calculateFactorial(ByVal number As Integer) As Double
   Dim factorial As Double = 1.0
   For i As Double = 1.0 To number
              factorial = factorial * i
   Next
   Return factorial
   End Function
   
  End Module

__________________



Reply With Quote
  #2  
Old 21-12-2009, 12:03 AM
BSIT07-01's Avatar
Addicted to Computer


 
Join Date: Sep 2007
Location: ------------
Age: 34
Posts: 1,309
Contact Number: ---------------
Program / Discipline: BSIT
Class Roll Number: 07-01
BSIT07-01 has a brilliant futureBSIT07-01 has a brilliant futureBSIT07-01 has a brilliant futureBSIT07-01 has a brilliant futureBSIT07-01 has a brilliant futureBSIT07-01 has a brilliant futureBSIT07-01 has a brilliant futureBSIT07-01 has a brilliant futureBSIT07-01 has a brilliant futureBSIT07-01 has a brilliant futureBSIT07-01 has a brilliant future
Default Re: Factorial Program (by Ahmad Mushtaq)

But that isn't the program that was assigned to Ahmad by Sir. Ahsan...
Reply With Quote
  #3  
Old 21-12-2009, 02:14 AM
!!Ahmad Mushtaq!!'s Avatar
Warning!: Computer Maniac


 
Join Date: Oct 2007
Location: In Umer Hall. Permanent Address : Zahir Pir, RYK, Punjab.
Age: 34
Posts: 237
Contact Number: Sorry. You can contact me through email... Thanks!
Program / Discipline: BSIT
Class Roll Number: 07-45
!!Ahmad Mushtaq!! has a spectacular aura about!!Ahmad Mushtaq!! has a spectacular aura about!!Ahmad Mushtaq!! has a spectacular aura about
Default Re: Factorial Program (by Ahmad Mushtaq)

sorry bro! That was one of the program! I'm facing some internet connectivity problems... Going to upload them now! Just wait
__________________



Reply With Quote
Reply

Tags
ahmad, factorial, mushtaq, program


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

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
c# program factorial of a number thecool Visual Programming 0 17-06-2011 09:51 PM
Ahmad Mushtaq !! Salman Mushtaq Chit Chat 3 09-03-2011 12:41 AM
VB Programs by Ahmad Mushtaq .BZU. Visual Programming 0 21-12-2009 02:25 AM
OsCommerce Presentation By Ahmad Mushtaq .BZU. E Commerce 3 05-12-2009 01:20 AM
Introduction of Ahmad Mushtaq !!Ahmad Mushtaq!! Introduction of all Students. 3 21-09-2008 06:06 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 03:23 PM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.