Computer Science, asked by Sanchari697, 5 hours ago

Which of the following will output a random number with values only from 0 to 10?

Answers

Answered by adichathangamatta
0

Answer:

Answer:

Which of the following will output a random number with values only from 0 to 10

(c) System.out.p

art 10

20 % 10); ods

(2) 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

Explanation:

Similar questions