0
Write a program tho print the following pattern
1 22 333 4444
4 Respostas
+ 1
@maksymzielinsku
0
public class Program
{
public static void main(String[] args) {
for(int i=1;i<=4;i++){
for(int j=1;j<=i;j++){
System.out.print(i);
}
System.out.print("\n");
}
}
}
0
Dude is this C++ language ?
0
Java. Copy and paste a double loop itself and refactor it according to language you want. You didn't specify what language you need