Write a Bash script to output the following sequence using any of the loops. 1 1 2 1 1 2 3 2 1 1 2 3 4 3 2 1 1 2 3 2 1 1 2 1 1
Write a Bash script to output the following sequence using any of the loops.
1
1 2 1
1 2 3 2 1
1 2 3 4 3 2 1
1 2 3 2 1
1 2 1
1
Step by step
Solved in 2 steps with 1 images