+ 4

Challenge : Make a program that will create polygon in any Language.

If you enter X ; your program will create a polygon having x equal sides. A polygon is a plan shape with straight sides. for more info see here https://www.mathsisfun.com/geometry/polygons.html I. E. if you Enter 4 it will create a square. if you Enter 5 it will create a pentagon. which every side has equal length.

13th Nov 2017, 9:10 AM
Uttam
Uttam - avatar
8 Answers
14th Nov 2017, 1:23 PM
jay
jay - avatar
+ 13
https://code.sololearn.com/c40FUpBuLiR8/?ref=app Here is my attempt. I still do not think it's right though. close though. need more tips lol
14th Nov 2017, 1:53 AM
jay
jay - avatar
+ 11
that is better! the original question details before were incomplete. makes much more sense now
13th Nov 2017, 9:14 AM
jay
jay - avatar
+ 10
5 creates a pentagon or polygon? can you provide more detail in the question details please?
13th Nov 2017, 8:38 AM
jay
jay - avatar
+ 5
just busy making it on svg
14th Nov 2017, 4:31 AM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar
13th Nov 2017, 8:47 AM
Uttam
Uttam - avatar
+ 2
bookmarked
14th Nov 2017, 1:54 AM
Jay
Jay - avatar
17th Nov 2017, 11:42 AM
Sagar Wankhede
Sagar Wankhede - avatar