asked 3.1k views
1 vote
What is the largest value that can be obtained from (int)(Math.random() * 100)?

1) 0
2) 99
3) 100
4) cannot be determined

asked
User Fanick
by
8.3k points

1 Answer

3 votes

Final answer:

The largest value that can be obtained from (int)(Math.random() * 100) is 99.

Step-by-step explanation:

The largest value that can be obtained from (int)(Math.random() * 100) is 99.

answered
User Matthew Purdon
by
8.7k points

No related questions found

Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.