diff options
Diffstat (limited to '1553/CH6/EX6.12/6Ex12.sce')
-rw-r--r-- | 1553/CH6/EX6.12/6Ex12.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/1553/CH6/EX6.12/6Ex12.sce b/1553/CH6/EX6.12/6Ex12.sce new file mode 100644 index 000000000..7b24fbe55 --- /dev/null +++ b/1553/CH6/EX6.12/6Ex12.sce @@ -0,0 +1,10 @@ +//chapter 6 Ex 12
+
+clc;
+clear;
+close;
+n=10; inc=1.8;
+weightreplaced=53;
+totalinc=n*inc;
+weightNew=weightreplaced+totalinc;
+mprintf("The weight of new man is %d kg.",weightNew);
|