* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package igarah;
/**
*
* @author ASUS
*/
public class looping {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
for(int k=1; k<=4; k++){
for (int j=1; j<=k; j++)
System.out.print(k);
System.out.print("\n");
// TODO code application logic here
}
}
}
Tidak ada komentar:
Posting Komentar