Question: shell scripts please need helps!system porgramming = = . Write a shell script that will take two numbers as input and calculate Cr and print

shell scripts please need helps!system porgramming

shell scripts please need helps!system porgramming = = . Write a shell

= = . Write a shell script that will take two numbers as input and calculate "Cr and print the output. (i.e. n=4, r=2, output = 4!/ 2! 2!= 6). Include comments and handle exceptions as required. Show the code and a sample output. (Note: ! symbol means factorial of a number) (5 Marks) nCr = n! / r! (n r)

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!