summaryrefslogtreecommitdiff
path: root/1553/CH4/EX4.27/4Ex27.sce
blob: 152c8afa0e87574cb94185eb0671bce71b8fecb8 (plain)
1
2
3
4
5
6
7
8
9
10
//chapter 4 Ex 27

clc;
clear;
close;
firstStation=280;
secondStation=12;
thirdStationTotal=248;
totalBeginning=(((thirdStationTotal-secondStation)/(1/2))-280)/(2/3);
mprintf("The total number of passengers in the beginning were %0.0f",totalBeginning);