Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
gareth_at_work
on Jan 3, 2011
|
parent
|
context
|
favorite
| on:
Printing 1 to 1000 without loop or conditionals
puts "numbers from 1 to 1000 without using any loop or conditional statements. Don't just write the printf() or cout statement 1000 times."
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: