java - By using a loop construct, how to generate following output? -




how coding output? enter image description here far did this....(new it)...

for (int i=0; i<7; i++)         {             (int j=7; j>i; j--)             {                     system.out.print(i);             }             system.out.println("");       }      } } 





wiki

Comments