(define (fun x y) (+ (* 2 5) (+ (* x y) (+ x y))))
> (fun 10 2) //the numbers of man and machine!
42
I have derived the equation to LIFE!
Hardcoding an extra addition of ten is cheating. If you absolutely have to have a fudge factor, why don't you make it
(define (fun x y) (+ (+ (* x (+ 1 y)) (+ x y))))
so that at least you don't have a hardcoded 2 and 5 cluttering things up? 1 is much more special.
(define (fun x y) (+ (+ (* x (+ 1 y)) (+ x y))))
so that at least you don't have a hardcoded 2 and 5 cluttering things up? 1 is much more special.
Quote:Original post by SticksandStonesQuote:Original post by Mushu
WHAT DO YOU GET IF YOU MULTIPLY SIX BY NINE.
54?
THIS THREAD IS NOW ABOUT HHGTTG REFERENCES. GOODBYE AND THANKS FOR ALL THE FISH.
Quote:Original post by MushuQuote:Original post by SticksandStonesQuote:Original post by Mushu
WHAT DO YOU GET IF YOU MULTIPLY SIX BY NINE.
54?
THIS THREAD IS NOW ABOUT HHGTTG REFERENCES. GOODBYE AND THANKS FOR ALL THE FISH.
WHY DIDN'T YOU JUST USE SEDUCTIVE WOMEN IMAGERY!!
Quote:Original post by MushuQuote:Original post by SticksandStonesQuote:Original post by Mushu
WHAT DO YOU GET IF YOU MULTIPLY SIX BY NINE.
54?
THIS THREAD IS NOW ABOUT HHGTTG REFERENCES. GOODBYE AND THANKS FOR ALL THE FISH.
*SO LONG* and thanks for all the fish learn2memorizethewholesongbeforereferencingit
Quote:Original post by napoleondynamiteMaybe he's not referencing the song? Maybe he's just saying goodbye, and also saying thanks. You know.. for the fish.Quote:Original post by MushuQuote:Original post by SticksandStonesQuote:Original post by Mushu
WHAT DO YOU GET IF YOU MULTIPLY SIX BY NINE.
54?
THIS THREAD IS NOW ABOUT HHGTTG REFERENCES. GOODBYE AND THANKS FOR ALL THE FISH.
*SO LONG* and thanks for all the fish learn2memorizethewholesongbeforereferencingit
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement