Mike Blezien wrote:

: is there a simple way to generate a list of numbers from
: 0 - 1000 in increments of 10 IE: 0, 10, 20, 30, 40. ...etc

yes, there sure is :) What have you tried so far that is not working?

I have a nice working example I'd love to share but we need to see what you've already tried that is not working before making any suggestions.

Of course the teacher of your class may have some pointers.

   No offense intended, but is this a homework problem?

That's the impression I get, too.  In case it's not:

I'd probably use a while loop with a less-than comparison and a simple
statement that increments by ten inside the loop.  As long as I don't
see working code that doesn't look like homework, though, I don't think
I'll offer working code in return.

Its ok if its homework, then they will remain stupid for lack of effort and laziness will haunt their every clueless waking moments :)

(say they interview for a job and they ask them to show their ability by doing a simple problem, they'll be stuck since they have no idea how to do anything for themselves, and won't have access or time to ask someone else to do it for them)

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to