answersLogoWhite

0

Subjects>Hobbies>Arts & Crafts

How do you create a factorial in vb6.0?

User Avatar

Anonymous

∙ 12y ago
Updated: 12/12/2022

You can create the factorial of desired number. Try this code:

Private Sub Command1_Click()

Dim fact As Integer

fact = 1

Dim num As Integer

Dim i As Integer

num = InputBox("Enter Number..")

For i = 1 To Val(num)

fact = fact * num

num = num - 1

Next

Label1.Caption = fact

End Sub

User Avatar

Wiki User

∙ 12y ago
Copy

What else can I help you with?

Related Questions

What is the value of 9 factorial plus 6 factorial?

The value of 9 factorial plus 6 factorial is 363,600


What is 30 factorial divided by 27 factorial times 3 factorial?

It is 4060.


What is factorial of 998?

factorial of -1


What is the factorial of 27?

27 factorial = 10,888,869,450,418,352,160,768,000,000


What is 1 factorial?

1 factorial = 1


What is factorial of six?

Factorial 6 = 720


What is factorial of 65?

Factorial 65 = 8247650592082470666723170306785496252186258551345437492922123134388955774976000000000000000


What is the factorial of 34?

34 factorial = 295,232,799,039,604,140,847,618,609,643,520,000,000.


What is 18 factorial?

18 factorial is 6,402,373,705,728,000.


What is zero factorial?

Zero factorial = 1


What is 26 factorial?

26 factorial is 403,291,461,126,605,635,584,000,000


Why one factorial and zero factorial is same?

As we know product of no numbers at all is 1 and for this reason factorial of zero =1and we know factorial of 1=1

Trending Questions
Is polyester cheap or expensive? What type of glue is best recommended for book binding projects? What are some creative ideas for DIY painting pumpkins? How do you identify unknown caller? How do you install a belt in Kirby vacuum cleaner and show you a diagram? How do you make a heart out of a piece of paper? How do you make paper mache torso? Is there gear oil in a Suzuki lt80? How can I draw different types of eyes? How do you get a job at age 14 years old in Winnipeg Manitoba? How do you learn a language in 10 days? What factors should I consider when choosing a board book printer for my project? How can you get neat and girly handwriting? Is polyester waterproof? What is pm in crochet mean? How much yarn can 1 pound of wool make? What is a cheap alternative to ceramic tile in a bathroom? How do you pronounce hi? How do you record contingent liabilities? What are some popular techniques for embellishing garments with intricate designs, such as embroidery tulle?

Resources

Leaderboard All Tags Unanswered

Top Categories

Algebra Chemistry Biology World History English Language Arts Psychology Computer Science Economics

Product

Community Guidelines Honor Code Flashcard Maker Study Guides Math Solver FAQ

Company

About Us Contact Us Terms of Service Privacy Policy Disclaimer Cookie Policy IP Issues
Answers Logo
Copyright ©2025 Answers.com | Lunias Media Inc. All Rights Reserved. The material on this site can not be reproduced, distributed, transmitted, cached or otherwise used, except with prior written permission of Answers.