Similar ProblemsImplement rand0to6() Using rand01()MediumImplement rand3() using rand2()MediumImplement rand5() using rand7()EasyImplement rand7() using rand5()Medium