diff options
Diffstat (limited to '1553/CH6/EX6.7/6Ex7.sce')
-rw-r--r-- | 1553/CH6/EX6.7/6Ex7.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/1553/CH6/EX6.7/6Ex7.sce b/1553/CH6/EX6.7/6Ex7.sce new file mode 100644 index 000000000..c5806e526 --- /dev/null +++ b/1553/CH6/EX6.7/6Ex7.sce @@ -0,0 +1,10 @@ +//chapter 6 Ex 7
+
+clc;
+clear;
+close;
+num=3; avg=44;
+//let third number be x
+num3=(avg*num)/(1+3+3/2);
+num2=3*num3;
+mprintf("The largest number is %d",num2);
|