123k views
3 votes
I bought some 60-cent candies bars for c dollars. I ate n of them, how much do I have left

I bought some 60-cent candies bars for c dollars. I ate n of them, how much do I have-example-1

1 Answer

3 votes

He bought 60-cent candy bars with "c" dollars.

Then he ate "n" of them.

We have to find how many are left.

We don't know the value of "c" or "n" but we can write the solution in function of them.

We can calculate the number of candy bars as the quotient between the money he spent, c, and the price of the candy bars in dollars ($ 0.60).

We can define the quantity he bought as B:


B=(c)/(0.60)

Then, if he ate n of them, we will be left with X candy bars, being X:


X=B-n=(c)/(0.6)-n

Answer: he has c/0.6 - n candy bars left.

User Risto Novik
by
4.9k points