diff --git a/05-grade.sh b/05-grade.sh index c148449a..c54022a1 100644 --- a/05-grade.sh +++ b/05-grade.sh @@ -15,6 +15,19 @@ else echo "Time to work on some extra credit assignments" fi +echo "Enter the current temperature" +read temperature + +if [ $temperature -lt 40 ]; then + echo "its cold" +elif [ $temperature -lt 60 ]; then + echo "its chilly" +elif [ $temperature -lt 70 ]; then + echo "its okay" +else + echo "its hot" +fi + # exercise: write a script (that utilizes weather-util) # that prints "it's cold" if the temperature is < 40 # it's chilly if < 60, it's okay if < 70 and, it's hot for diff --git a/after graphs.png b/after graphs.png new file mode 100644 index 00000000..265679e5 Binary files /dev/null and b/after graphs.png differ diff --git a/alen/print_name.sh b/alen/print_name.sh new file mode 100644 index 00000000..a5eb0ef7 --- /dev/null +++ b/alen/print_name.sh @@ -0,0 +1 @@ +echo "My name is Alen" \ No newline at end of file diff --git a/before graphs.png b/before graphs.png new file mode 100644 index 00000000..bf422f9b Binary files /dev/null and b/before graphs.png differ