Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions 05-grade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Binary file added after graphs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions alen/print_name.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
echo "My name is Alen"
Binary file added before graphs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.