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
1
Answer:
Your answer are as follows:
Explanation:
QRST
Answered by
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