summaryrefslogtreecommitdiff
path: root/1553/CH4/EX4.1/4Ex1.sce
blob: 650042dd2fab256e58f2f24a6bf4160c5c973381 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Chapter 4 Ex 1

clc;
clear;
close;

//(i)
x=5005-5000/10;
mprintf("(i)The value of expression is %d",x);

//(ii)
y=18800/470/20;
mprintf("\n (ii)The value of expression is %d",y);