Ask your own question, for FREE!
Computer Science 18 Online
OpenStudy (anonymous):

"Write a Racket function sin-digit that consumes a 9-digit number and an integer between 1 and 9, inclusive, and produces the digit at the specified location. Position 1 corresponds to the left-most digit, and position 9 to the right-most digit (the one's digit). For example, (sin-digit 463290115 1) => 4, (sin-digit 463290115 6) => 0, (sin-digit 463290115 9) => 5. You may assume that the digit at position 1 is non-zero. " 1) Do not even understand the question. 2) Cannot use "cond".

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!