Tudily13 Tudily13
  • 11-01-2024
  • Computers and Technology
contestada

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;

Respuesta :

Otras preguntas

How does the tilt of the Earth and the Earth’s revolution around the sun cause seasons? Please help. I might even mark brainiest if the answer is straight forwa
Once the settlers reached North America which way did the go?
yuuuuuuuuuuuuuuuuuuuuuuuuuuuuthrdjty
In his Defense Against the Darks Arts class, what did Gilderoy Lockhart do?
social problems of urban agriculture​
Pedro//mucho en la clase What’s the correct present tense between the slashes
Factor the expression using the common factor −6 . −12x−18y−3.6 Drag a value or operation/sign to the boxes to correctly factor the linear expression.
whats the two correct answers???will give brainliest
What were the three main reasons Spain gave for exploration?
Drag tiles to the board to represent the expression. Model the algebraic expression x + 2. Then select all the statements that are true. x + 2 cannot be modeled