I\'m trying to write a Java method that prints a Christmas tree after taking two parameters: the number of segments and the height of each segment. It is supposed to have th