diff --git a/02-add_nums.sh b/02-add_nums.sh index 2fd13cb..6d47236 100644 --- a/02-add_nums.sh +++ b/02-add_nums.sh @@ -6,10 +6,27 @@ echo "Enter your second number" read second echo "Enter your third number" read third +echo "Enter your fourth number" +read fourth -sum=$(( first+second+third )) + +sum=$(( first+second+third+ fourth )) echo "The sum is $sum" # exercise: ask the user for the width and height and present total # number of pixels +echo "Enter width" +read width +echo "Enter height" +read height + +total=$(( width*height )) + +# print statement + +echo " Width and Height multiplied together results in a total pixel amount of $total" +echo "This message is from the main branch" + + +echo "This message is from the parallel_universe branch" diff --git a/Screenshot 2025-10-23 154015.png b/Screenshot 2025-10-23 154015.png new file mode 100644 index 0000000..b0136e5 Binary files /dev/null and b/Screenshot 2025-10-23 154015.png differ diff --git a/Screenshot 2025-10-23 191015.png b/Screenshot 2025-10-23 191015.png new file mode 100644 index 0000000..f1d36c2 Binary files /dev/null and b/Screenshot 2025-10-23 191015.png differ