diff --git a/02-add_nums.sh b/02-add_nums.sh index 2fd13cb..213b298 100644 --- a/02-add_nums.sh +++ b/02-add_nums.sh @@ -13,3 +13,14 @@ echo "The sum is $sum" # exercise: ask the user for the width and height and present total # number of pixels + +echo "Enter the width:" +read width +echo "Enter the height:" +read height + +pixels=$(( width * height )) + +echo "The total number of pixels is $pixels" + +#adding a comment and saying hi in this \ No newline at end of file diff --git a/parallelbymohammed.png b/parallelbymohammed.png new file mode 100644 index 0000000..1711608 Binary files /dev/null and b/parallelbymohammed.png differ diff --git a/post_mergebymohammed.png b/post_mergebymohammed.png new file mode 100644 index 0000000..a2dd16d Binary files /dev/null and b/post_mergebymohammed.png differ