ARRISE Interview Question

React random dice coding question.