Name: Anonymous 2009-03-18 18:48
Print
"SUSSMAN" 300 times (each on a new line) to the output device using Java.
"SUSSMAN" 300 times (each on a new line) to the output device using Java.
package org.fourchan.text.prog;
public interface IPrintSussman {
void printSussman(int numTimes);
}
"agnarsson" < main
{
main ->
stef(;)
staðvær i
stofn
fyrir (i:=0; i<300; i:=i+1) lyykja
skrifastreng(;"AGNARSSON"),
lykkjulok,
stofnlok
}
*
"GRUNNUR"
;
(display "\"SUSSMAN\" 300 times (each on a new line) to the output device using Java.")
(newline)
def satori
[]
end
$hybt = satori()
def yhbt?
true unless $hybt.join != ("yhbt")
end
def method_missing(abelson,*harold)
$hybt << abelson.to_s[0,1]
satori = satori()
if yhbt?
%w{Gerald Jay Sussman SICP}.each_with_index{|snake, grunnur| satori[grunnur] = snake.length; @gjs = snake.upcase if grunnur == 2}
((satori[0]+satori[3])*(satori[1]+satori[2])*satori[1]).times{puts @gjs}
end
end
have you read your poignant guide to ruby today? bacon how yummy?
java!