Name two indefinite loop statements in Java _while_______________________________________ _do__________________________________________
3.
Nesting Definite Loops Write a nested for loop to print the triangle of stars shown below to System.out. You will need to write one for loop for printing each line of the triangle, and another to print out the stars for each line. Required Output: * ** *** **** ***** ******