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. Sample Data: 3 R Files Needed: TriangleFour.java TriangleFourRunner.java 5 X 2 E 1 T Sample Output: algorithm help output loop that runs aize times loop k output = output + loop AX output-output +letter xX output = output +import static java.lang.System.* public class TriangleFour private int size; private String letter; public TriangleFour () public TriangleFour (int count, String let) public void setTriangle( String let, int sz ) public String getLetter() return public String toString() String output- return output+nimport static java.lang.System.* public class TriangleFourRunneir public static void main( String args[])

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