Any one please help me with print this pattern in java.
Question : Write a Java method call PrintPattern which take in two character ch1 and ch2 and an integer n.
Calling PrintPattern('*', '#', 5) will print out following pattern. For example, ('*' move in Right side is a one line)
*#*#*
#*#*
*#*
#*
*
Calling PrintPattern ('?', '+', 4) will print out following pattern
('+' move to Right side is a one line)
?+?+
+?+
?+
+
(Hint: using two for/while loops to print out following pattern on the screen.)