Full Pyramid using * user can give the height of pyramid ? | Sololearn: Learn to code for FREE!
+ 1

Full Pyramid using * user can give the height of pyramid ?

Help to solve the Question What is the code ?

1st Jan 2023, 6:43 AM
Selva Neyas U
Selva Neyas U - avatar
1 Respuesta
+ 7
You can draw such patterns by using two nested for loops, and inside a condition to decide based on the X and Y coordinates, if you want to draw a symbol or an empty space. You can get more concrete help if you post your attempt. You have not even specified in which language you want to solve it.
1st Jan 2023, 7:51 AM
Tibor Santa
Tibor Santa - avatar