I Like Char Pattern
Author: Efat Sikder
Problem Setter: Md Kamrul Hasan
Member, IUBAT IITS Programming Club
likes to draw the pattern in his notebook. Now Kamrul
learns programming, he makes some of those patterns by using programming. As a
new learner Kamrul cannot make all the patterns he draws in his notebook. So,
today Kamrul needs your help to make only one pattern from his notebook.
need to write a program that will take an integer number and creates this
pattern for the corresponding inputs.
· If , the pattern print first 5 char look like this,
a b c d e
e d c b a
a b c d e f g h i j
j i h g f e d c b a, the pattern print first 10 char look like this,
· You will be given a positive integer ≤ N ≤ 26) as input.
Output the pattern
|GNU C 11
|GNU C++ 14
|GNU C++ 11
|Java (OpenJDK 8)