summaryrefslogtreecommitdiff
path: root/1553/CH30/EX30.1/30Ex1.sce
blob: a4a07616045ac688901fad050f66f43fe30a6342 (plain)
1
2
3
4
5
6
7
8
//Chapter 30 Ex 1

clc;
close;
clear;
n1=30; n2=28;
ans=factorial(30)/factorial(28);
mprintf("The value of expression is %d",ans);