Your T.A is correct. What happens in the code above is the following: - chars are cast to int values, yielding int value 69 and int value 68 respectively. - int value 68 is subtracted from int value 69 yielding int value 1. - int value 1 is cast to a float, yielding float value 1.0f. - float value 1.0f is then multiplied by double value 1.0d yielding double value 1.0d
Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
Originally posted by marc weber: Jelle already explained this, but I can't resist drawing a picture...
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus