Quote:Original post by Anonymous Poster
You're just stupid.
You're just nobody.
Quote:Original post by Anonymous PosterQuote:Original post by smart_idiot
You're just nobody.
O RLY?
Quote:Original post by smart_idiotQuote:Original post by Anonymous PosterQuote:Original post by smart_idiot
You're just nobody.
O RLY?
YA RLY!
Quote:Original post by vioxx_1
The thing is is that I made up the list of numbers.
I just want to learn the process of recursion for another problem.
I'm actually converting characters into numbers and things like that.
So I need this process in order to be able to do it.
Is there any examples of this process using a different question?
Because all i want to know is how it works.
(define (f ...) (if ... ... ; Base case (f ...))) ; Recursive case
(define (f ...) (if ... ... ; Base case (g ... (f ...) ...))) ; Recursive case
Quote:Original post by gcs584
Hi,
You could do this quite easily using the modulus operator.
GCS584
Quote:Original post by RoboguyQuote:Original post by gcs584
Hi,
You could do this quite easily using the modulus operator.
GCS584
What does modulus have to do with this? I don't see how using modulo will help iterate over a two lists and add each element.
Quote:Original post by gcs584Quote:Original post by RoboguyQuote:Original post by gcs584
Hi,
You could do this quite easily using the modulus operator.
GCS584
What does modulus have to do with this? I don't see how using modulo will help iterate over a two lists and add each element.
Well since I don't know Scheme, I made an assumption that an index for the retrieval of a value from the list could be specified.
GCS584