Assume that the value 3929.92 is of type ‘float’. How to assign this value after declaring the variable ‘interest’ of type float?
Options
- interest = 3929.92
- interest = (Float)3929.92
- interest = 3929.92 (float)
- interest = 3929.92f
CORRECT ANSWER : interest = 3929.92f
Write your comments