1. Engineering
  2. Computer Science
  3. lab description use nested loops to print out the triangle...

Question: lab description use nested loops to print out the triangle...

Question details

Lab Description: Use nested loops to print out the triangle letter pattern show below Files Needed TriangleThree.Java TriangleThreeRunner.Java Sample Data: 3 A 7 X 1 R 5 T Sample Output: lgorithm hel output= ; oopthat runa aize timea *X oop AX output output + ” ” loop k output output + letter output output + \n ITimport static java.lang.System.* public class TriangleThree private int size; private String letter; public TriangleThree() public TriangleThree (int count, String let) public void setTriangle( String let, int sz ) public String getLetter() return 4. public String toString() String return output=; output+ ;import static java.lang.System.* public class TriangleThreeRunner public static void main( String args)

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution