Answer:
class Main {
public static void main(String args[]) {
int nr = 1;
int value = 3;
while(value < 16) {
for(int i=0; i<nr; i++) {
System.out.printf("%d ",value++);
}
System.out.println();
value++;
nr++;
}
}
}
Explanation:
This is one of the many approaches...