Question: scheme language i need help with thus scheme assignment im using R5RS Part 4 - Multiply Number List Buflding up the logic Our goal here
Part 4 - Multiply Number List Buflding up the logic Our goal here is to make a series of functions that will help you solve a problem. I'm going' to walk you through the analysis bit by bit. Goal: Problems: We are explicitly trying to code a robust, type-safe function to multiply a lisi of integers. The function should return the product of multiplying the Tist if it is a homogenous list of integers otherwise it should return false. Problems to solve: - What is the product of this list of numbers? a Is this a homogenous list of numbers? - Is this item a number? - this is solved for us (number? -) Part A: Write a function named number-list? that takes a list and returns \#t or \#f that it is a list of ONLY numbers. Part B: Create the function multiply-number-1ist to make use of your number-1ist? function and multiply the number list. Note: you can/should use a helper function to do the work and use multiply-number-list as the interface function that the user would use. (multiply-number-1ist(12345))120(mulefply-number-1ist:(1(2)))tt(multiply-number-ifst(abbc))if
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
