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
Answers
Answered by
4
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
Similar questions