yes..I can explain. here you declared 2 types variable .first u got round figure because 'a' is an integer type variable and 'b' is a floating type variable that is why u got a round figure answer.if we want to get floating type answer,we should take this answer as a floating type variable and also divide by floating type variable.