Advantages of floating-point numbers over integers.

Q6. What are the advantages of floating-point numbers over integers?

Ans. Floating-point numbers have two advantages over integers. First, they can represent values between the integers. Second, they can represent a much greater range of values.

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: