summaryrefslogtreecommitdiff
path: root/1553/CH2/EX2.22/2Ex22.sce
blob: 48406b22669912f4a8059f431441fb4b69e696bf (plain)
1
2
3
4
5
6
7
8
9
10
11

//chapter 9 Ex 13

clc;
clear;
close;

a=17/18; b=31/36; c=43/45; d=59/60;
v=[a b c d];
v=gsort(v,'lc','i');
mprintf("%.3f > %.3f >%.3f >%.3f ",v(4),v(3),v(2),v(1));