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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!