Skip to content

Commit

Permalink
Program to get Random dice number b/w 1 to 6
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohanraj209 committed Jan 12, 2022
1 parent 19ecf7a commit 9e16e25
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dice_Number.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

value=$(( $RANDOM % 7 ))
echo "$value"

0 comments on commit 9e16e25

Please sign in to comment.