#Write a program to display the output of the following pattern

2 messages · Page 1 of 1 (latest)

native edge
#

a
b c
d e f
(up to 6 rows)

torpid herald
#

for (char ch = 'a'; ch <= 'f'; ++ch) {
std::cout << ch << " ";
}