|
-
Oct 28th, 2006, 06:53 PM
#2
Re: [02/03] Factorial Algorithm
Because you are calling Val() on the factorialInput variable before you even get a value for it from the inputbox, so N I would assume would be 0, which then just skips your loop since it is not greater than 0. You have to convert the input from the InputBox to a number after the user enters it
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|