[JAVA] Java nested for statement example
class A{
public static void main(String[] args){
for(int a=1; a<5; a=a+1){
System.out.print(a);
for(int b=0; b<10; b=b+1){
System.out.print("*");
}
System.out.println();
}
}
}
resulit
đ
Thank you!!
ęł ë§ě!!
Comments
Post a Comment