For this milestone, you will be creating a much more complex drawing for each cell and individually filling them in. The drawing will have 4 different sections that can be individually filled in. Then create a grid using the drawing, similar to milestone 3. Once again, we will be adding inputs for 4 new colors. Sample output: Grid size (n): (input) Pen color: (input) Color 1: (input) Color 2: (input) Color 3: (input) Color 4: (input) You can still: decide whether the cells and its drawings are filled or unfilled and decide where Colors 1-4 go in your drawing choose the fill and pen colors based on user input Once again, you'll be trying to match the drawing provided: The example has all the location of each point as coordinates relative to the cell's top left corner. Use it as a reference on how to draw each cell. Here is the drawing colored, each section should be a different color (if filled and if user adds the same color multiple times, you should use whatever they entered):

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

For this milestone, you will be creating a much more complex drawing for each cell and individually filling them in. The drawing will have 4 different sections that can be individually filled in. Then create a grid using the drawing, similar to milestone 3.

Once again, we will be adding inputs for 4 new colors.

Sample output:

Grid size (n): (input) Pen color: (input) Color 1: (input) Color 2: (input) Color 3: (input) Color 4: (input)

You can still:

  • decide whether the cells and its drawings are filled or unfilled and decide where Colors 1-4 go in your drawing
  • choose the fill and pen colors based on user input

Once again, you'll be trying to match the drawing provided:

The example has all the location of each point as coordinates relative to the cell's top left corner. Use it as a reference on how to draw each cell.

Here is the drawing colored, each section should be a different color (if filled and if user adds the same color multiple times, you should use whatever they entered):

0,0
0, -0.9x
0,-x
0.5x, -0.4,x
0.4x, -0.7x
0.65x, -0.85x
x,0
X, -0.2x
X,-X
Transcribed Image Text:0,0 0, -0.9x 0,-x 0.5x, -0.4,x 0.4x, -0.7x 0.65x, -0.85x x,0 X, -0.2x X,-X
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Random Class and its operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education