random_number_between_1_to_12

Generate Random numbers between 1-12


Given a function rand6() that returns random numbers from 1 to 6 with equal probability, implement a function rand12() using rand6() that returns random numbers from 1 to 12 with equal probability