Westonci.ca is your go-to source for answers, with a community ready to provide accurate and timely information. Join our Q&A platform to get precise answers from experts in diverse fields and enhance your understanding. Our platform provides a seamless experience for finding reliable answers from a network of experienced professionals.

Kim had d dollars and she bought a apples for 12 cents each and b bananas for 18 cents each. How many cents did she have left

Sagot :

Answer:  100d-12a-18b  cents

===================================================

Explanation:

d dollars = 100d cents

for example, if d = 4, then,

4 dollars = 100*d = 100*4 = 400 cents

So Kim starts off with 100d cents.

She buys 'a' apples, where 'a' is a placeholder for the number of apples. If a = 5, then she bought 5 apples and spends 12*a = 12*5 = 60 cents. In general, she spends 12a cents buying 'a' apples.

Similarly, she spends 18b cents buying b bananas. The letter b is the placeholder for the number of bananas.

Overall, Kim spends 12a+18b cents for buying that amount of apples and bananas. Subtract this expression from 100d to find out how much money she'll have left over.

100d - (12a+18b) = 100d-12a-18b

This left over amount is in cents. If you want to convert to dollars, then you would need to divide by 100.