
Why the output is integer 2 f, rather than 2.5?
F the corresponding float type, isn't it?
O please bosses solutions

CodePudding user response:
Integer arithmetic, no decimal point and should be written in 10.0/ICodePudding user response:
Integer arithmetic, no decimal point and should be written in 10.0/I