Nice try :)
Printable View
Nice try :)
I liked that one too, very funny. :) Of course, starting loops at 1 and testing for <= is weird style, but I think he did it because most "normal" human beings don't start counting at 0. :D I give it a 10/10 for humor because the code is actually correct.
Technically it isn't what the teacher wanted, 'cos it ain't 500 lines, it's only one. ;)
That's why it's only a nice try! ;)Quote:
Originally posted by Hammer
Technically it isn't what the teacher wanted, 'cos it ain't 500 lines, it's only one. ;)
haha... that's funny 10/10...
it reminds me of when we had to figure out something for a precalc class and i just went home and wrote a looping program to do it for me ;)
Of course the output will be horribly jumbled because he forgot to add a newline escape.
Uhh, see hammer's post.
You want me to use code tags? :confused:Quote:
Originally posted by golfinguy4
Uhh, see hammer's post.
Actually, without the newline character, the output has a nice little diagonal pattern to it. Quite pleasing to the eyes..
Hammer already said it would only be 1 line. ;)Quote:
Originally posted by -KEN-
You want me to use code tags? :confused:
Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously.Quote:
Originally posted by golfinguy4
Hammer already said it would only be 1 line. ;)
edit: Oh, right, I just got it. Curse you, hammer!
Quote:
Originally posted by Hammer
Technically it isn't what the teacher wanted, 'cos it ain't 500 lines, it's only one. ;)
Technically its about 5 not one ;)
technically, it depends on your screen's resolution
The modern day Gauss?