The division result of C language is displayed as 0.
To know how the formula works, first calculate sum=b/c, and the integer division in C language is rounded, so b/c has no decimal part, 2/3=0, and then assign it to sum, so the value of sum is equal to 0, as long as b is multiplied by 1.0 first (the previous variables must be converted first here).