Free Version
Moderate

# Multiple Math Methods in a Statement

APCSA-VWVKGG

What range of values could num possibly have after this statement is executed?

double num = Math.pow(Math.random()*10,Math.sqrt(Math.pow(2, 0))*2);
System.out.println(num);

A

Any decimal number between 0 (inclusive) and 100 (exclusive): [0, 100).

B

Any decimal number between 0 (inclusive) and 100 (inclusive): [0, 100].

C

Any decimal number between 0 (exclusive) and 100 (exclusive): (0, 100).

D

Any decimal number between 0 (inclusive) and 10 (exclusive): [0, 10).

E

Any decimal number between 0 (inclusive) and 10 (inclusive): [0, 10].