+ 1
Can any one plz explain me this question plz. I only want explanation, no code plz
You go trick or treating with a friend and all but three of the houses that you visit are giving out candy. One house that you visit is giving out toothbrushes and two houses are giving out dollar bills.
7 odpowiedzi
+ 1
it's a code coach. basically what they mean is that, all the houses you will visit will give you candies except three: two of them will give you dollars bill, and one, toothbrushes.
+ 3
okay,
+ 3
Samar Fatima now u got it?
+ 2
Samar Fatima from where you get this?
+ 2
It means
When you or a person visits some friends houses,
From 3 housees, person got or gifted a candy..
From One house, person gifted a toothbrush..
From 2 houses, you got dollars...
Edit: Now input is given as number of houses you visited..
If one item is picked then what are the percentage of chances of coming out a dollar....
+ 2
Muhammad Faheem Nasir it is one of the Community challenges
+ 2
Yea I get it, Thanks