In a lottery scheduler with 40 tickets, how we will distribute the tickets among 4 processes $P_1, P_2, P_3$ and $P_4$ such that each process gets 10%, 5%, 60% and 25% respectively?
|
$P_1$ |
$P_2$ |
$P_3$ |
$P_4$ |
A |
12 |
4 |
70 |
30 |
B |
7 |
5 |
20 |
10 |
C |
4 |
2 |
24 |
10 |
D |
8 |
5 |
30 |
40 |