How to print this type of triangle? [on hold]











up vote
-3
down vote

favorite












How may I produce this output?



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


like this pattern










share|improve this question









New contributor




user322705 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











put on hold as too broad by glenn jackman, John, Jeff Schaller, thrig, n.st Nov 25 at 15:57


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.











  • 3




    What does the size of the pattern depend on? A correct solution would simply be to output the triangular pattern as a static string... Also, are you restricting solutions to awk only?
    – Kusalananda
    Nov 25 at 14:02








  • 2




    voting to close as too broad: you could produce that output with a single echo command.
    – glenn jackman
    Nov 25 at 14:34















up vote
-3
down vote

favorite












How may I produce this output?



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


like this pattern










share|improve this question









New contributor




user322705 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











put on hold as too broad by glenn jackman, John, Jeff Schaller, thrig, n.st Nov 25 at 15:57


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.











  • 3




    What does the size of the pattern depend on? A correct solution would simply be to output the triangular pattern as a static string... Also, are you restricting solutions to awk only?
    – Kusalananda
    Nov 25 at 14:02








  • 2




    voting to close as too broad: you could produce that output with a single echo command.
    – glenn jackman
    Nov 25 at 14:34













up vote
-3
down vote

favorite









up vote
-3
down vote

favorite











How may I produce this output?



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


like this pattern










share|improve this question









New contributor




user322705 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











How may I produce this output?



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


like this pattern







awk






share|improve this question









New contributor




user322705 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




user322705 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited Nov 25 at 14:01









Kusalananda

117k16221360




117k16221360






New contributor




user322705 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Nov 25 at 13:44









user322705

1




1




New contributor




user322705 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





user322705 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






user322705 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




put on hold as too broad by glenn jackman, John, Jeff Schaller, thrig, n.st Nov 25 at 15:57


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.






put on hold as too broad by glenn jackman, John, Jeff Schaller, thrig, n.st Nov 25 at 15:57


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.










  • 3




    What does the size of the pattern depend on? A correct solution would simply be to output the triangular pattern as a static string... Also, are you restricting solutions to awk only?
    – Kusalananda
    Nov 25 at 14:02








  • 2




    voting to close as too broad: you could produce that output with a single echo command.
    – glenn jackman
    Nov 25 at 14:34














  • 3




    What does the size of the pattern depend on? A correct solution would simply be to output the triangular pattern as a static string... Also, are you restricting solutions to awk only?
    – Kusalananda
    Nov 25 at 14:02








  • 2




    voting to close as too broad: you could produce that output with a single echo command.
    – glenn jackman
    Nov 25 at 14:34








3




3




What does the size of the pattern depend on? A correct solution would simply be to output the triangular pattern as a static string... Also, are you restricting solutions to awk only?
– Kusalananda
Nov 25 at 14:02






What does the size of the pattern depend on? A correct solution would simply be to output the triangular pattern as a static string... Also, are you restricting solutions to awk only?
– Kusalananda
Nov 25 at 14:02






2




2




voting to close as too broad: you could produce that output with a single echo command.
– glenn jackman
Nov 25 at 14:34




voting to close as too broad: you could produce that output with a single echo command.
– glenn jackman
Nov 25 at 14:34















active

oldest

votes






















active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

Entries order in /etc/network/interfaces

新発田市

Grub takes very long (several minutes) to open Menu (in Multi-Boot-System)