summaryrefslogtreecommitdiff
path: root/1553/CH6/EX6.14/6Ex14.sce
blob: 6eec28e6a59705e1c1b41e469fac451255a01d8e (plain)
1
2
3
4
5
6
7
8
//chapter 6 Ex 14

clc;
clear;
close;
score=87; inc=3; n=17;
avg17= score-(n-1)*inc;
mprintf("The average after 17th inning is %d",avg17);