Challenge time:For c,c++,java,python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 14

Challenge time:For c,c++,java,python

Draw a Hexagon.

28th Jan 2018, 9:46 AM
Mohd Zaki
Mohd Zaki - avatar
17 Answers
29th Jan 2018, 8:59 AM
🌛DT🌜
🌛DT🌜 - avatar
+ 16
https://code.sololearn.com/cXYRlYxf59sE/?ref=app
29th Jan 2018, 11:11 AM
LukArToDo
LukArToDo - avatar
29th Jan 2018, 12:06 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 15
https://code.sololearn.com/cQ2u5w82WX9P/?ref=app
28th Jan 2018, 2:35 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
29th Jan 2018, 10:00 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 9
https://code.sololearn.com/cD682ud3cpNR/?ref=app
28th Jan 2018, 2:41 PM
Käzî Mrîdùl Høssäîn
Käzî Mrîdùl Høssäîn - avatar
+ 7
https://code.sololearn.com/c9odtBFHSaX2/?ref=app my first attempt. Like it if you did ☺
28th Jan 2018, 2:28 PM
Erik Umble
Erik Umble - avatar
+ 6
With mine, I can add one more line of code to turn it into an octogon.
28th Jan 2018, 2:30 PM
Erik Umble
Erik Umble - avatar
+ 6
Sadly, my code is the worst 😕
28th Jan 2018, 10:22 PM
Erik Umble
Erik Umble - avatar
+ 6
Here is my code.... Check out it.... https://code.sololearn.com/cSUqo3Rwt0LQ/?ref=app
29th Jan 2018, 6:04 AM
Ajay Gaikwad
Ajay Gaikwad - avatar
29th Jan 2018, 10:00 AM
capsloth
capsloth - avatar
29th Jan 2018, 2:34 PM
🐙evil octopus
🐙evil octopus - avatar
+ 4
https://code.sololearn.com/cIjZEaV0Ri6J/?ref=app
28th Jan 2018, 11:49 AM
...
29th Jan 2018, 7:45 PM
Silver Key
Silver Key - avatar
31st Jan 2018, 9:28 PM
Haris
Haris - avatar
+ 1
https://code.sololearn.com/Wm3BNvz5uR0V #sorry i'm just a newbie here #please do tell me if there's any easier way to draw a better hexagon
30th Jan 2018, 3:47 AM
Ragon
+ 1
@D_Stark wow..what should i input to get the hexagon? :)
30th Jan 2018, 10:51 AM
Ragon