Question: solve in drracket fast pls (50 points) Answer the following questions according to TOYS structure: (define-struct TOYS (type quan price)) TOYS is a structure like

solve in drracket fast pls
solve in drracket fast pls (50 points) Answer the following questions according

(50 points) Answer the following questions according to TOYS structure: (define-struct TOYS (type quan price)) TOYS is a structure like (make-TOYS string number number) type is type of toy and can be one of: plastic imetal coton quan is the quantity of toys price is price of toys Write a function named numOfPlastic that takes list of toys and find the number plastie toys. Contract: numOfPlastic: LOTOYS number Write a function named priceOfPlastic that takes list of toys and find the total price of plastic toys. Contract: priceOfPlastic: LOTOYS number (total price) Write a function named price ListOfPlastic that takes list of toys and produce a list of prices of plastic toys. Contract: priceOfPlastic: LOTOYS LOTOYS Note: Ensure that your programs are fully documented, using comments. Write also contrue tors, selectors and predicates

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!