How to create pattern like this in Java using loop
*
* #
* # *
* # * #
* # * # *
Answers
Answered by
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
Similar questions