Square pattern in java

In this article we are going to print square pattern using java code. Example:- if n = 4 Steps:- Take input for row and column from user using scanner Run a loop for rows from i= 1to i<=n. inside first loop run another loop for column from j=1 to j<=n. and print *. After termination … Read more