Loop Exercises from the Homework
(dotimes (count-parameter upper-bound result-form)
body)
(dolist (element-parameter list result)
body)
(do ((parameter initial-value update)
...
)
(termination-test result)
body
)
Run these functions in Lisp and show your output.
For some examples see more on loops.
1. Write do-times-factorial.
2. Write do-factorial
3. Write do-list-member
4. Write do-member
5. Write count-extreme-grades using a lambda function and count-if
6. Write reverse using a loop