Consider the following code. double randnum = (); double answer = (int)( ((int)randnum*10, 2)) - ( (randnum,2)); Which of the following options correctly completes the code?
1) randnum = Math.random();
2) randnum = Math.random() * 10;
3) randnum = Math.random() * 10 + 1;
4) randnum = Math.random() + 1;