- 2
How to print the given pattern
@#@# @#@# @#@# @#@#
5 Réponses
+ 5
Something like
for(int i=0;i<4;i++)
{
if(i%2==0)
print @
else
print #
}
+ 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
+ 1
That's so easy that even asking should have taken more time than coding the solution. Oo
- 2
pls give me the whole thing
- 2
pls give me the whole program for the following pattern
@#@#
@#@#
@#@#
@#@#