blob: 84a9569ef1777f5d300be307ef679f6dbd0fe13c (
plain)
1
2
3
4
5
6
7
8
9
10
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);
|