Consider the following code segment, which is intended to assign to num a random integer value between min and max, inclusive. Assume that min and max are integer variables and that the value of max is greater than the value of min.double rn = Math.random();int num = /* missing code */;Which of the following could be used to replace /* missing code */ so that the code segment works as intended?