write a program to print the following output using for loops122333444455555........
public class Project1{public static void main (String[] args){int c, d, e;for (c = 1 ; c <= 8 ; c++){for (d = 1 ; d <= c ; d++){System.out.print ("c");}System.out.println("");}}