0
Does any body know how to print half diamond even numered pattern using only while loop in JAVA? For example as shown below.
**2 ****4 ******6 ****4 **2 https://code.sololearn.com/c9v4xTcFn2yj I couldn't figure out the rest and also what equation to put in "??" for the first half.
4 odpowiedzi
+ 4
These tasks are meant for you to train your logical skill in programming. You should really try to solve them yourself.
If you show us your attempt, we may give you a hint.
0
https://code.sololearn.com/c9v4xTcFn2yj/?ref=app
I couldn't figure out the rest and also what equation to put in "??" for the first half.
0
Do you want them to print with number or only diamonds?
0
Both as shown in example above