+ 3

Halloween candy Problem

I am unable to understand this Halloween candy Problem in code coach can someone pls explain it to me so that i can write a coffee for it

10th Apr 2020, 11:15 AM
Bhavuk Sharma
Bhavuk Sharma - avatar
5 Réponses
+ 3
so to get the probability you have to divide 2 by the number of houses
10th Apr 2020, 11:53 AM
Enrique Flores
Enrique Flores - avatar
+ 1
it is asking for the probability of getting money instead of candies
10th Apr 2020, 11:52 AM
Enrique Flores
Enrique Flores - avatar
+ 1
so if you visit any number of houses 2 of those will always hive you money
10th Apr 2020, 11:53 AM
Enrique Flores
Enrique Flores - avatar
+ 1
and multiply it by 100 to get the %
10th Apr 2020, 11:54 AM
Enrique Flores
Enrique Flores - avatar
0
Enrique Flores can u pls share the code
10th Apr 2020, 2:50 PM
Bhavuk Sharma
Bhavuk Sharma - avatar