Consider the following statement, which is intended to gener…

Consider the following statement, which is intended to generate an integer between 1 and 10, inclusive, and assign it to result. This statement does not work as intended.   int result = (int) Math.random() * 10 + 1;    Which of the following changes can be made so that this statement works as intended? Add parentheses around the expression 10 + 1, as shown in the following statement.