1) Given the list '(a b c (d e f (g))) write the code necessary to extract and display g to the screen. 2) Write a proce

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

1) Given the list '(a b c (d e f (g))) write the code necessary to extract and display g to the screen. 2) Write a proce

Post by answerhappygod »

1) Given the list '(a b c (d e f (g))) write the code necessary
to extract and display g to the screen.
2) Write a procedure that takes a list of list of numbers each
containing at least 1 number. Your procedure should return a list
containing the individual sums of each of those lists of numbers.
For example: ((1 2 3) (4 5) (6) (7 8 9 10)) -> (6 9 6 34).
3) Write a procedure named removed symbols which take a list of
elements as a parameter, where an element is either a symbol or a
number and returns the original list with all of the symbols
removed.
4) Write a procedure named findMax that takes a list of numbers
as a parameter and returns the largest number found in the
list.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply