Puzzle 23 | (Days of month using 2 dice)

How can you represent days of month using two 6 sided dice? You can write one number on each face of the dice from 0 to 9 and you have to represent days from 1 to 31, for example for 1, one dice should show 0 and another should show 1, similarly for 29 one dice should show 2 and another should show 9.

 
 
 
 
 

Answer:
Dice 1: 0 1 2 3 5 7
Dice 2: 0 1 2 4 6 8

Explanation:
You have to show 11, 22 so 1 and 2 should be present in both dices, similarly to show 01, 09. 0 should be present in both dices, now the trick is for showing 9 you can use dice with 6 printed on one of the face.

geeks
 

This article is contributed by Vikash Kumar. Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above



My Personal Notes arrow_drop_up


Article Tags :
Practice Tags :


11


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.