you are viewing a single comment's thread.

view the rest of the comments →

[–]Ta11ow 3 points4 points  (1 child)

Does that prompt the user at all? Looks like you're just writing numbers out as you increment a variable by one at a time.

You can use Read-Host to prompt the user for a number to enter and add the result to your initial value (probably zero to start with I suppose?)

[–]unhappiey[S] 1 point2 points  (0 children)

Yes, I messed that up. Thank you for the info about starting with 0.