Question: Write a BASH script count_up to display the numbers between 2 integers (including the 2 numbers) in ascending order if the first number is smaller
Write a BASH script count_up to display the numbers between 2 integers (including the 2 numbers) in ascending order if the first number is smaller than the second, and in descending order if the first number is greater than the second. Make sure to do the proper exception handling in your code.
All I found was in Visual basic or in C.
I need it for Linux Ubuntu Bash scripting.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
