C program to print character pattern

C program to print character pattern

Output:

Enter the size of the characater pattern:
5

A
B C
D E F
G H I J
K L M N O

Implementation: