IDNLearn.com is your go-to platform for finding reliable answers quickly. Get step-by-step guidance for all your technical questions from our knowledgeable community members.

Consider the following code segment

Consider The Following Code Segment class=

Sagot :

Answer:

D:

2

54

Explanation:

In line 3 Math.random() will return a number between 0 and 1, so the minimum is 3 (0*5+3=3), therefore it is impossible for line 4 to return the value 2

Thank you for using this platform to share and learn. Don't hesitate to keep asking and answering. We value every contribution you make. Your search for answers ends at IDNLearn.com. Thank you for visiting, and we hope to assist you again soon.