Can someone please help me with this below question. I need to write a class for this. If you roll Y standard six-sided dice, whatÃ¢â?¬â?¢s the probability that you get at least X 4's? To calculate that you should divide the number of comibnations with X or more 4's by the total number of possible combinations.
The actual question got some error. Its about the probability of coming X or more number of 4's on Y number of dice. I need to write a class for this where X and Y are passed as parameter. If someone can just tell me the probability formula i can write the code. Thanks