summaryrefslogtreecommitdiff
path: root/1553/CH10/EX10.5/10Ex5.sce
blob: b9426305561b691845e2a1ec2fb67569e322bc10 (plain)
1
2
3
4
5
6
7
8
9
10
//chapter 10 Ex 5
clc;
clear;
close;
n1=2/50*100; 
n2=((1/2)/(1/3))*100;
n3=(84/7)*100;
n4=(40/20)*100;
n5=(130/(6.5*1000))*100;
mprintf("(i)2 is %.0f percent of 50\n (ii)1/2 is %.0f percent of 1/3\n (iii)%.0f percent of 7 is 84\n (iv)%.0f percent of 2 metric tonnes is 40 quintals\n (v) %.0f percent of 6.5 litres is 130 ml",n1,n2,n3,n4,n5);