0

What is the c program to out put the pattern given in the description(using arrays and loops)?

A B C D E F G F E D C B A A B C D E F F E D C B A A B C D E 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

21st Feb 2022, 5:17 AM
SMKV Wijerathne
SMKV Wijerathne - avatar
1 Answer
+ 1
Array A-G Print array front to back Replace last index with “ “ Print array back to front Repeat until you get to A
21st Feb 2022, 6:18 AM
Raul Ramirez
Raul Ramirez - avatar