Here you are given 2 unbiased dice
containing 6 faces. You will be given
an output sum which should be
obtained by throwing two dice. You
need to return the number of all
possibilities where the sum on both
the dice is equal to the output sum.If
there are no possibilities return 0.
Sample Input:
10
Answers
Answered by
1
Answer:
12
Explanation:
Similar questions