Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

"blind" programming [challenge]

Name: Anonymous 2015-04-29 23:33

Here's a stupid idea.

You know things like "print this pattern:

*
***
*****
*******
*********


can be done wiht any dumb challenges like this..

try to solve it by writing the program into this thread - NO TESTING! Then try it out.

Name: Anonymous 2015-05-02 22:59

whoops, fixed!
10.times { |n| puts " "*((10-n)/2)+"*"*n if (n%2).odd? }

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List