blob: a906e8b8f52988ecd231cc0ad299fb9481cfcf2e (
plain)
1
2
3
4
5
6
|
//chapter 10 Ex 2
clc;
clear;
close;
n1=6; n2=28; n3=0.2; n4=.04;
mprintf("(i)6 percent=%.2f\n (ii)28 percent=%.2f\n (iii)0.2 percent=%.3f\n (iv)0.04 percent=%.4f",n1/100,n2/100,n3/100,n4/100);
|