Question: (a) Write a recursive Scheme procedure line that prints n asterisks in a line as follows: (line 5) ***** (b) Write a recursive Scheme procedure

(a) Write a recursive Scheme procedure line that prints n asterisks in a line as follows: (line 5) ***** (b) Write a recursive Scheme procedure histogram that uses the procedure line, and prints a histogram for a list of integers: (histogram ' (1 2 3 3 2 1)) * ** *** *** ** *
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
