ARRISE interview question

React random dice coding question.