Computer Science, asked by bossrc64p7l5et, 1 year ago

How to create pattern like this in Java using loop

*
* #
* # *
* # * #
* # * # *

Answers

Answered by Asna123
1

Normal code...but u've to put

If(i mod 2==0)

System.out.println(" #");

else

System.out.println(" *");


Asna123: I is for loop variable
bossrc64p7l5et: Kya bakchodi hai ye galagt
Similar questions