int(a+c)= 7;
But I think we should first calculate 3 * (int) (a+b) = 21; b/2 1 = 0; 0/2=0; (int)(0)= 0; 0%4=0; The answer is 2.5. Priority should be */%. Follow the principle from left to right.
a+c = 7.2; Rounded by int, it is 7, multiplied by 3, divided by b, and finally divided by 2.
Personally, I think there is no problem.