vb assignment 3
DESCRIPTION
Vb Assignment 3TRANSCRIPT
Factorial using Sub procedure:Module Module1
Sub Main() Dim num As Integer Console.WriteLine("Enter number") num = Console.ReadLine() factorial(num) Console.ReadLine() End Sub Sub factorial(ByVal a As Integer) Dim c, d As Integer c = 1 d = 1
Do While (c