- 1
Can anyone help me code the pattern given in Description Below??
This Pattern: 1 2 3 4 5 6 7 8
6 ответов
+ 4
First try creating a diamond shape using loop(s) and I'll tell what to do next
+ 2
The easiest way is to just output the 5 lines.
+ 2
What kind of looping? 1 to 8 or other.
+ 2
if i is 0 or i is last print number else print space
+ 1
John Wells : Well that's easy😁. .But with looping statements Is what I needed..
0
Kartikey Sahu : I couldnt print the spaces between numbers..