Computer Science, asked by satabdipal012, 5 months ago



write a shell script to generate
all combination of 1 2 and 3​

Answers

Answered by programmer89
0

Answer:

Write a program to generate all combinations of 1, 2 and 3 using for loops.

Explanation:

# SS26

# Shell script to generate all combinations of 1 2 3

# Usage: SS26

clear

for in 1 2 3

do

for j in 1 2 3

do

for k in 1 2 3

do

echo $i $j $k

done

done

done

Similar questions