summaryrefslogtreecommitdiff
path: root/1553/CH10/EX10.32/10Ex32.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH10/EX10.32/10Ex32.sce')
-rw-r--r--1553/CH10/EX10.32/10Ex32.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1553/CH10/EX10.32/10Ex32.sce b/1553/CH10/EX10.32/10Ex32.sce
new file mode 100644
index 000000000..04cc2429a
--- /dev/null
+++ b/1553/CH10/EX10.32/10Ex32.sce
@@ -0,0 +1,9 @@
+//chapter 10 Ex 32
+
+clc;
+clear;
+close;
+hinFail=35; engFail=45; bothFail=20;
+hinengbothFail=hinFail+engFail-bothFail;
+passboth=100-hinengbothFail;
+mprintf("The percentage passed in both is %d percent",passboth);