Question: This program will draw a flower-type design, where the user can control the number of petals . The program will prompt the user for the
This program will draw a flower-type design, where the user can control the number of petals. The program will prompt the user for the following:
a positive (not 0) number of sides for each petal (regular polygon)
a positive (not 0) length of the sides
a positive (not 0) number (>= 3) of petals (polygons) to draw
"yes" or "no" regarding whether the petals should be filled in.



Demo1 Demo1 Dr. vs Turtle Dr. Vs Turtle Enter number of sides Enter side length OK Cancel OK Cancel 11 00:00 |1 00:05 Demo1 Demo1 Dr. vs Turtle Dr. Vs Turtle Enter number of sides Enter side length OK Cancel OK Cancel 11 00:00 |1 00:05
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
