2d array diamond shape of 1's of size x

前端 未结 0 1538
孤独总比滥情好
孤独总比滥情好 2020-12-18 16:54

Hey I am trying to make a 2d array consisting of 1\'s and 0\'s where the 1\'s for a diamond shape. The diamond should be of size x:

A size x = 3 diamond shape would l

相关标签:
回答
  • 消灭零回复
提交回复
热议问题