Understand All about Windows 7 Tips and Tricks, Fashion,Technology, Sports, Games,Windows 8 ,Computer Science ,Essay ,Application and more useful content here, Simply to Read and Enjoy it.
Private Sub Command1_Click() Dim f As Long, n As Long n = InputBox("enter as integer", "Factorial") f = 1 Do While n > 1 f = f * n n = n - 1 Loop MsgBox ("Factorial of the integer is " & f) End Sub
No comments:
Post a Comment