Computer Science, asked by ybroranaway69, 11 hours ago

Program to print the following pattern
A B C D
E F G H
I J K L
M N O P

Answers

Answered by znisha1980
1

Answer:

Your answer are as follows:

Explanation:

QRST

Answered by spoon1407
2

Answer:

public class KboatStringPattern

{

public static void main(String args[]) {

char ch = 'A';

for (int i = 0; i < 5; i++) {

for (int j = 0; j <= i; j++) {

System.out.print(ch++);

}

System.out.println();

}

}

}

Similar questions