Question: Please help, thank u very much. Question 1 10 pts) Write a lisp function triangle that takes an odd number as the argument (n) and
Please help, thank u very much.

Question 1 10 pts) Write a lisp function triangle that takes an odd number as the argument (n) and shows a triangle of printed odd numbers as shown in the following samples. If the input is even, decimal or string, it should print an appropriate message. (triangle 7) (triangle 9) 1 3 1 3 5 1 3 5 7 1 3 1 3 5 1 3 5 7 1 3 5 79 (triangle 2.5) -> decimal numbers are not valid input, please enter an odd integer (triangle 4) > even numbers are not valid input, please enter an odd integer
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
