Level 5 – 03

Transcription

Level 5 – 03
————————————————————————————————————————–
Level 5
Prerequisite Concepts
Key Concepts
Concept 12
Concept 20, 21, 22, 23
A sextagon is a polygon having 6 sides. An example of a sextagon is shown in Figure 1. Write a
Bricklayer program that uses traverseWithin and brick functions to create a sextagon whose interior is
filled-in. The dimensions of the sextagon are left unspecified.
Figure 1: Sextagon
Copyright: Victor Winter ([email protected])