diff --git a/01-read_inputcopy.sh b/01-read_inputcopy.sh new file mode 100644 index 0000000..9aada72 --- /dev/null +++ b/01-read_inputcopy.sh @@ -0,0 +1,4 @@ +#!/bin/bash +# read the name of the user and print hello + +echo "Welcome, Joshua" diff --git a/07-beer.sh b/07-beer.sh index c03aded..019abe6 100644 --- a/07-beer.sh +++ b/07-beer.sh @@ -20,5 +20,12 @@ while [ $count -ge 0 ]; do done -# exercise: implement another counting song (such as 12 days of Christmas) +# exercise: implement another counting song (such as 12 days of Christmas) # using loops and if statements. +echo "Now let's do a countdown!" + +count2=3 +while [ $count2 -gt 0 ]; do + echo "$count2 days until deliverable is due" + ((count2 = count2 - 1)) +done diff --git a/part2Graph.png b/part2Graph.png new file mode 100644 index 0000000..9f56b2d Binary files /dev/null and b/part2Graph.png differ