summaryrefslogtreecommitdiff
path: root/1553/CH10/EX10.13/10Ex13.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH10/EX10.13/10Ex13.sce')
-rw-r--r--1553/CH10/EX10.13/10Ex13.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1553/CH10/EX10.13/10Ex13.sce b/1553/CH10/EX10.13/10Ex13.sce
new file mode 100644
index 000000000..84a9569ef
--- /dev/null
+++ b/1553/CH10/EX10.13/10Ex13.sce
@@ -0,0 +1,11 @@
+//chapter 10 Ex 13
+
+clc;
+clear;
+close;
+voters=75/100;
+invalid=2/100;
+candidate=75/100;
+votes=9261;
+totalVotes=votes/(voters*(1-invalid)*candidate);
+mprintf("The number of votes enrolled were %d",totalVotes);