Vous êtes sur la page 1sur 1

This program is a good exercise for mastering loops e.g. for loop and while loop in Java.

This also teaches you How


to use break and continue statement with loops in Java. By the way you can print any character and
use System.out.print() and System.out.println())
*
***
*****
***
*

Vous aimerez peut-être aussi