Question: Java C. Write a recursive method called triangle(height) that prints a triangle of height x. The base of the triangle can be the left side
Java
C. Write a recursive method called triangle(height) that prints a triangle of height x. The base of the triangle can be the left side of the console. For example, triangle(4) would print ***** ***
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
