Skip to content

Commit 35d19ff

Browse files
committed
ADDED diceNumber.sh
Implemented dice number between 1 to 6 using RANDOM function
1 parent 2bf4334 commit 35d19ff

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

diceNumber.sh

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash -x
2+
diceNumber=$((RANDOM%6))
3+
echo $diceNumber

0 commit comments

Comments
 (0)