Hello,
function minmax(int p1,int p2,int p3, int adr_big, int adr_small)
{ int mini=p1,maxi=p1;
if (p1>p2) {mini=p2;}
else {maxi=p2;};
if (p3>maxi) maxi=p3;
if (p3<mini) mini=p3;
*adr_big=maxi;
*adr_small=mini;
};
// main
int a=31,b=5,c=19,big,small;
minmax(a,b,c,&big,&small);
Answer:
2/21
Step-by-step explanation:
The question is badly formatted so cannot match the answer choice
Total number of tiles = 4 + 5 + 6 = 15
P(A) = P(drawing a black tile from 15 tiles) = 4/15
After event A, there are 14 tiles left : 3 black, + 5 white + 6 blue
P(B/A) = P(drawing white tile after a black tile has been drawn) = 5/14
P(A and B) = P(A).P(B/A) = 4/15 x 5/14 = 2/21
Note that P(B) = 5/15 since we are talking about independently drawing a white tile from the original stack of tiles
Answer:
a 16
b30
Step-by-step explanation:
you said c is 5 so 11 +5 and you said b was 2 so 15 times 2 Is 30