Both are correct. One expression is literal expression ( whole candy bar). The other expression is mathematical expression ( 100% of a candy bar).
So both expressions are the same
9.4m questions
12.2m answers