script



write a shell script named ‘DICE’ that uses nested loops to produce numbers from 1 to 6 and add up the total. This program takes a single argument, which is the number of 6 sided Dice to roll. For example, if I run ./DICE 4 it will produce 4 numbers from 1-6 (say 2,4,1,3) and output 2, 4, 1, 3, and then the total 10. If I run ./DICE 5 it will produce 5 numbers and the total, and so on