- 2

How to print the given pattern

@#@# @#@# @#@# @#@#

15th May 2019, 1:50 PM
Revathi Kumar
Revathi Kumar - avatar
5 Respostas
+ 5
Something like for(int i=0;i<4;i++) { if(i%2==0) print @ else print # }
15th May 2019, 1:57 PM
Rstar
Rstar - avatar
+ 4
Revathi Kumar Complete the basic lessons of java, then it should be possible to write a code which prints this pattern. Don't ask if someone can do your homework. Ask only for programming related questions. https://www.sololearn.com/discuss/1316935/?ref=app
15th May 2019, 3:19 PM
Denise Roßberg
Denise Roßberg - avatar
+ 1
That's so easy that even asking should have taken more time than coding the solution. Oo
15th May 2019, 2:07 PM
Daniel Adam
Daniel Adam - avatar
- 2
pls give me the whole thing
15th May 2019, 1:58 PM
Revathi Kumar
Revathi Kumar - avatar
- 2
pls give me the whole program for the following pattern @#@# @#@# @#@# @#@#
15th May 2019, 1:59 PM
Revathi Kumar
Revathi Kumar - avatar