1.

Solve this Java program 1 3 5 7 9 1113 15 17 1921 23 25 27 29

Answer»

attern{public STATIC void MAIN (INT n){int num=2,c,d;for(c =1;c LESS than EQUAL to n;c++){for(d=1;d less than equal to c;d++){System.out.print(num+" ");num++;}System.out.println();}}}



Discussion

No Comment Found