summaryrefslogtreecommitdiff
path: root/1553/CH6/EX6.14/6Ex14.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH6/EX6.14/6Ex14.sce')
-rw-r--r--1553/CH6/EX6.14/6Ex14.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/1553/CH6/EX6.14/6Ex14.sce b/1553/CH6/EX6.14/6Ex14.sce
new file mode 100644
index 000000000..6eec28e6a
--- /dev/null
+++ b/1553/CH6/EX6.14/6Ex14.sce
@@ -0,0 +1,8 @@
+//chapter 6 Ex 14
+
+clc;
+clear;
+close;
+score=87; inc=3; n=17;
+avg17= score-(n-1)*inc;
+mprintf("The average after 17th inning is %d",avg17);