summaryrefslogtreecommitdiff
path: root/1553/CH10/EX10.33/10Ex33.sce
blob: 8ee4b27c016318d6e21aa66ade5ed0c29716a30b (plain)
1
2
3
4
5
6
7
8
//chapter 10 Ex 33

clc;
clear;
close;
engPass=80/100; mathPass=85/100; bothPass=75/100; bothFail=40;
total=bothFail/(1-(engPass+mathPass-bothPass));
mprintf("Total number of students are %.0f",total);