#100daysblockcodingchallenge||Day1:Drawing Polygons using Block based Code
Day1:Drawing Polygons using Block based Code
Polygons:
A plane figure with at least three straight sides and angles are said to be polygons.
Polygons are usually closed and 2-d figure.
Examples: Triangles, Square, pentagon etc.,
- Interior angles of any polygon is equal to 360 degree
- For regular polygons all the sides and angles are equal
- To find angle of any one side divide 360 by number of sides in the polygon
- For example sides:4 for square 360/4=90 degree. Each angle in the square is 90 degree.
Output:
If side=8
Comments
Post a Comment