Problem Set 5 - UBC - CPSC 110
(require spd/tags) (require 2htdp/image) (require 2htdp/universe) (@assignment lab-05) (@cwl ???) ;; Problem 1 ;; Complete the design of a function called pyramid that takes a natural ;; number n and an image, and constructs an n-tall, n-wide pyramid of ;; copies of that image. ;; For instance, a 3-wide pyramid of cookies would look like this: ;(bitmap/url ;" ; ") ;(run in interactions window)
Document information
- Uploaded on
- March 13, 2023
- Number of pages
- 12
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers