Question: Question 2 ) [ 2 points ] Suppose that we have a list of integers called intList. Let positiveSum be the sum of the positive

Question 2)[2 points] Suppose that we have a list of integers called intList. Let positiveSum be the
sum of the positive integers in the intList, and let negativeSum be the sum of the negative integers
in the intList. For example, if we have intList as the list ([-2,-1,3,0,5,-1]), then positiveSum is
8(positive numbers are 3 and 5) and negativeSum is -4(negative numbers are -2,-1 and -1).
Write a Scheme function named processList which will take a list of integers intList and return
the result positiveSum
 Question 2)[2 points] Suppose that we have a list of integers

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!