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
12 changes: 5 additions & 7 deletions 02-add_nums.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,11 @@ echo "The total number of pixels is $totalPixels"
# exercise: ask the user for the width and height and present total
# number of pixels

echo ""
echo "What is the width of your display?"
echo "Enter the width of your chakra display:"
read width
echo ""
echo "What is the height of your display?"

echo "Enter the height of your chakra display:"
read height

echo ""
pixelTotal=$(( $width * $height ))
echo "Your display has ${pixelTotal} pixels."
pixelTotal=$((width * height))
echo "Your display contains $pixelTotal pixels of pure chakra."
Binary file added LaureeshVolmar/after-merging.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions LaureeshVolmar/laureesh.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
echo "Hello, my name is Laureesh Volmar"
Binary file added LaureeshVolmar/two-branches.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.