What is 1 - 0.1 - 0.1 - 0.1 - 0.1 - 0.1 == 0.5?
a. true
b. false
c. There is no guarantee that 1 - 0.1 - 0.1 - 0.1 - 0.1 - 0.1 == 0.5 is
c. There is no guarantee that 1 - 0.1 - 0.1 - 0.1 - 0.1 - 0.1 == 0.5 is
This epression involves floating-point number. Floating-point numbers are approximated. The correct answer is C.
Computer Science & Information Technology