|
CS 220 01 (Zelle) |
Winter 2012 |
| Syllabus | Handouts | Java Download | Dr Java | Textbook Resources | Java Docs | Manhattan VC | Dr. Zelle |
|---|
Your program must make use of two helper functions:
grade(score) --> returns the letter grade for score avg3(score1, score2, score3) --> returns the mean (average) of the three scores
This program is another turtle fractal. The generator is a "hump" created by tracing the "outline" of two side-by-side equilateral triangles with a third equilateral (inverted) between them. This generator is alternated, as in the dragon curve. Here are pictures of the level 1 and 2 curves (level 0 is just a line, as usual):