Computer Science, asked by Anshumanpatsariya, 5 months ago

Which of the following will output a random number with values only from 0 to 10 ?
(a) System.out.println(Math.round(Math.random()* 0));
(b) System.out.println(Math.round(Math.random() % 10));
(c) System.out.println(Math.random() *10);
(d) None of the above​

Answers

Answered by shivajikaithi
3

Explanation:

none of the Above... ...

Answered by srarchana
1

Answer:

answer is option d

Explanation:

none of the above

Similar questions