summaryrefslogtreecommitdiff
path: root/1553/CH3/EX3.3/3Ex3.sce
blob: 6b6cf19e71543f33e53f857a6d9daccfe9d87c45 (plain)
1
2
3
4
5
6
7
8
//chapter 3 Ex3
clc;
clear;
close;
n1=3/5; n2=4/7; n3=8/9; n4=9/11; 
V=[n1 n2 n3 n4];
V=gsort(V,'lc','i');
mprintf("%.2f > %.2f> %.2f > %.2f",V(4),V(3),V(2),V(1));