Which of the following will output a random number with values only from 0 to 10?
Answers
Answered by
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
Biology,
3 hours ago
Math,
3 hours ago
Physics,
5 hours ago
Accountancy,
5 hours ago
Math,
8 months ago