blob: 04cc2429a636311633cb6855923c35e636670eb9 (
plain)
1
2
3
4
5
6
7
8
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);
|