Assignment 62 - Flags
Example Output
Learning Outcomes
- Loops
- Visualization
Goals
To create visual representations of national flags using color grids.
Description
In this assignment, you will create visual representations of the national flags of Germany and France. You will use the ColorGrid class to define the colors for each flag and visualize them.
Tasks
- Implement the createGermanFlag method to populate a ColorGrid with the colors of the German flag: black, red, and yellow.
- Implement the createFranceFlag method to populate a ColorGrid with the colors of the French flag: blue, white, and red.
- Visualize each flag
Extensions
Students can try out different flags to explore various designs and color combinations.
Help
For C++
Bridges documentation
Color documentation
ColorGrid documentation
For Java
Bridges documentation
Color documentation
ColorGrid documentation
For Python
Bridges documentation
Color documentation
ColorGrid documentation