you created a program named Triangle in which you displayed a seven-line triangle pattern like the one

Question:

you created a program named Triangle in which you displayed a seven-line triangle pattern like the one in Figure 6-33 by using a series of println() statements. Now, using your knowledge of loops, revise the program so that it contains no more than three output statements. Save the file as TriangleWithLoops.java.

TIT TTTTT TTTTTTT. TTTTTTTTT. TITTTTTTTTT. TTTTTTTTTTTT

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question

Java Programming

ISBN: 978-1337397070

9th edition

Authors: Joyce Farrell

Question Posted: