Final answer:
The value of p, the number of people attending the party, is 28.
Step-by-step explanation:
Given that Adam baked 84 cookies for the party and each person got 3 cookies, we can write an equation to find the value of p, the number of people attending the party. The equation is:
3p = 84
To solve for p, we divide both sides of the equation by 3:
p = 84/3 = 28
Therefore, the value of p, the number of people attending the party, is 28.