I have no idea how to even approach this.. beginner here, any help would be appreciated I can't seem to figure out how to get even spacing to form a pyramid
Write a public static method named starPrinter that will take an int as a parameter and
print lines of stars as shown below.
The header of the method will be public static void starPrinter(int n) .
e.g.
Thank you so much!