Re:Easier Than Fizz Buzz – Why Can't Programmers Print 100 t...
by im3w1l on Friday April 10, 2015 @10:27AM
(#9354506)
Assuming int main(int a) we can do
EDIT: missed constraint that it needs to start with for(int i=0 from article.
[ Parent
| on HN ]
Re:Easier Than Fizz Buzz – Why Can't Programmers Print 100 t...
by ConceptJunkie on Friday April 10, 2015 @08:08PM
(#9357794)
It's too bad the constraint wasn't what you said it was, because then you could do:
for ( int i = 0144;
or
for ( int i = 0x64;
Unfortunately, the constraint was "for ( int i = 0;". :-/