Scheme Need Use Words Variables Source Code Must Written R5rs Print Asked Write Two Clause Q37167682

This is Scheme… so you need to use only the words from belowwith some variables. Source code must be written in R5RS!

Do NOT print more than is being asked

Write two clauses that determines if there are exactly threevalues in a list such that they sum a value N.

So, the problem is to determine if there are exactly 3 values ina list of values such that they sum to a value N.  Ifthere are, print true else print false.

            Sample

            List[1, 3, 5, 7] with N equal to 10 should printfalse.  There are no three values thatsum 10.

            List[1, 3, 5, 7] with N equal to

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.