0
Can anyone help me with Pentagon pattern
Using loops
5 Respostas
+ 5
If you want regular convex polygons take a look here (math documentation at bottom of js tab):
https://code.sololearn.com/WjZChqY4vZXO/?ref=app
+ 2
Satnam Singh 👑 I didn't see any comment in the link you shared that showed how to print a console-based pentagon.
+ 2
aasthasavla if you don't need a regular pentagon (that is, if you don't have to have all sides of the same length and all angles of the same measure), then just print a triangle on top of a square.