diff options
Diffstat (limited to '1553/CH4/EX4.1/4Ex1.sce')
-rw-r--r-- | 1553/CH4/EX4.1/4Ex1.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/1553/CH4/EX4.1/4Ex1.sce b/1553/CH4/EX4.1/4Ex1.sce new file mode 100644 index 000000000..650042dd2 --- /dev/null +++ b/1553/CH4/EX4.1/4Ex1.sce @@ -0,0 +1,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);
|