There were a total of 840 guests at a wedding dinner.60% of them were adults while the rest were children.some boys left before the dessert was served.as a result,the percentage of adults increases to 70%.how many boys had left before the dessert was served?

70% of (840 minus boys)

... equals
... 60% of 840

588 - .7b = 504

84 = .7b

To solve this question, we need to find out how many boys left before the dessert was served. Here's how you can do it:

1. Start by finding the number of adults and children at the wedding dinner.
- Since 60% of the guests were adults, we can calculate the number of adults as 60% of 840: 0.60 * 840 = 504 adults.
- Similarly, the number of children can be calculated as the difference between the total number of guests (840) and the number of adults: 840 - 504 = 336 children.

2. Now, let's assume the number of boys who left before the dessert was served as 'x'.

3. As a result of the boys leaving, the percentage of adults increases to 70%. So, we need to adjust the number of adults and children based on this new percentage.
- The number of adults will now be 70% of the total number of guests, given by: 0.70 * 840 = 588 adults.
- The number of children remains the same, i.e., 336 children.

4. Since the number of adults has increased to 588, we can calculate the number of boys who left as the difference between the original number of adults (504) and the new number of adults (588): 588 - 504 = 84 boys.

Therefore, 84 boys had left before the dessert was served.