summaryrefslogtreecommitdiff
path: root/1553/CH10/EX10.3/10Ex3.sce
blob: 131c342796ed381b6030c26e9433fa602d0c3908 (plain)
1
2
3
4
5
6
//chapter 10 Ex 3
clc;
clear;
close;
n1=23/36; n2=27/4; n3=.004;
mprintf("(i)23/36=%.2f percent\n (ii)27/4 =%.0f percent\n (iii)0.004 =%.1f percent",n1*100,n2*100,n3*100);