Question: The following expression should equal 6.8 , but in Java it does not. Why not? 0.2 + 1.2 + 2.2 + 3.2

The following expression should equal 6.8 , but in Java it does not. Why not?

0.2 + 1.2 + 2.2 + 3.2

Step by Step Solution

3.38 Rating (164 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The expression equals 68000... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Building Java Programs A Back to Basics Approach Questions!