Square Diagonal Star Pattern | Java

Diagonal Star pattern Write a  program to print diagonal star pattern.  If number is < 5, the method should print “Invalid Value“. The method should print diagonals to generate a rectangular pattern composed of stars (*). This should be accomplished by using loops (see examples below). EXAMPLE INPUT/OUTPUT: EXAMPLE 1 printSquareStar(5); should print the following: […]