Final answer:
Mrs. Ismail bought 5 chocolate bars.
Step-by-step explanation:
To find out how many chocolate bars Mrs. Ismail bought, we need to subtract the weight of the candy bags from the total weight. First, let's convert the total weight from kilograms to grams. We know that 1 kilogram is equal to 1000 grams, so 2.7 kilograms is equal to 2700 grams. Next, we subtract the weight of the candy bags from the total weight. Each candy bag weighs 300 grams, so we multiply 300 by the number of candy bags Mrs. Ismail bought, which we'll call 'x':
300x = 2700 - 200x
Now, we can solve for 'x':
300x + 200x = 2700
500x = 2700
x = 2700/500
x = 5.4
Since Mrs. Ismail cannot buy a fraction of a candy bar, she must have bought 5 chocolate bars.