Making a diamond shape using for loop | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Making a diamond shape using for loop

Sorry I’m a beginner, this question was a little be hard for me.

24th Nov 2018, 1:47 AM
Shih Chao Ting
Shih Chao Ting - avatar
3 Answers
24th Nov 2018, 6:48 AM
David Ashton
David Ashton - avatar
+ 1
Language? Size of the diamond? Basically, start with X time blanks and 1 char Every extra line get 1 less space and 2 more chars, until we get to the center and the in reverse. ____x ___xxx __xxxxx ___xxx ____x
24th Nov 2018, 4:10 AM
Amir Galanty
Amir Galanty - avatar
0
Greetings friends! Are there any online or brick-and-mortar stores that are known for offering competitive prices and a wide selection of gemstones, as well as guaranteeing authenticity and transparency in their sourcing and pricing methods? How buyers can avoid scams and ensure the best return on their gemstone investment.
25th Apr 2023, 11:00 AM
Marcus Rull
Marcus Rull - avatar