printing character patterns

help me i need a program using for loop the output should be
a b c d e d c b a
a b c d d c b a
a b c c b a
a b b a
a a
Last edited on
Do you have any code?
sorry ! i dont have any code please tell me code the output should be
a b c d e d c b a
a b c d d c b a
a b c c b a
a b b a
a a
the code should like pant i mean first print
a b c d e
a b c d
a b c
a b
a


and than it print
e d c b a
d c b a
c b a
b a
a
Topic archived. No new replies allowed.