Program to Calculate Combination [nCr] in Bash: Shell Scripting
The following shell scripting program is written in bash to calculate combination formula which is n! /(n-r)!r!. Code: #!/bin/bash clear echo “Program to find Combination in Probability” function fact { mul=1 i=$1 while [[ $i
Continue readingProgram to Calculate Combination [nCr] in Bash: Shell Scripting