asked 142k views
12 votes
Find the circumference of the circle

A. 47.1 in
B. 22 in
C. 10.5 in
D. 35 in

Find the circumference of the circle A. 47.1 in B. 22 in C. 10.5 in D. 35 in-example-1
asked
User Madcyree
by
8.1k points

1 Answer

9 votes

Answer:

A 47.1 in

Explanation:

This is a pretty simple Java (though probably applicable to all programming) question:

Math. Random() returns a number between zero and one.

If I want to return an integer between zero and hundred, I will do:

(int) Math. Floor(Math. Random() * 101)

Between one and hundred, I would do:

(int) Math. Ceil(Math. Random() * 100)

But what if I wanted to get a number between three and five? Will it be like following statement:

answered
User Kerrianne
by
8.2k 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.