Question: Using Linux scripting write a script which inputs a number from the user and makes sure the number is greater than 1 and less than
Using Linux scripting write a script which inputs a number from the user and makes sure the number is greater than 1 and less than or equal to 15. If so, then the script uses two for-loops, one to compute the summation of values from 1 to the users number and one to compute the factorial from 1 to the users number. Output the two computed results. If the number is out of bounds (less than 2, greater than 15), output an error message instead.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
