Question: 3. Write a shell script sum_int to add all integers between low and up (inclusive), whose digits consist of only 0 and 1, e.g., if

3. Write a shell script sum_int to add all integers between low and up (inclusive), whose digits consist of only 0 and 1, e.g., if low or up is not an integer, display "low or up is not an integer" and stop, e.g., "sum_int 10 11 20" display "21", as there are only two integers safisfy the conditions: 10 and 11, and "sum_int Ha 20" display "Ha is not an integer
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
