193k views
4 votes
Which of these expressions evaluates to 4.0?

I. 8 / (double)2
II. (double)8 / 2.0
III. (double)(8 / 2)

A. I only
B. II only
C. III only
D. I and II only
E. I, II, and III

2 Answers

6 votes
E is the correct answer
User Gang Fang
by
8.6k points
3 votes
I think its e hope this helps
User AnyWhichWay
by
8.7k points