part (a)
How many ordered quadruples $(a,b,c,d)$ satisfy $$a+b+c+d=18,$$ where $a,b,c,d$ are nonnegative integers?
(part (b) How many ordered quadruples $(a,b,c,d)$ satisfy $$a+b+c+d=18,$$ where $a,b,c,d$ are odd positive integers?
part (c)
How many ordered quadruples $(a,b,c,d)$ satisfy $$a+b+c+d=18,$$ where $a,b,c,d$ are integers such that $|a|,\ |b|,\ |c|,\ |d|$ are each at most $10$?
For part (a) I counted the number of positive quadruples which is 18+4=22 so it would be 21C3 = 1330 ways to do that. But, I'm not sure how to do part (b) or (c).
A reasonable way to approach parts (b,c) is to attempt to reduce them to problems of type (a): "How many ordered quadruples $(a,b,c,d)$ satisfy $a+b+c+d = k$ where $a,b,c,d$ are nonnegative integers?" So heuristically, the goal is to make nonnegative integers out of odd positive integers, and out of integers whose absolute values are at most 10. Can you come up with a way to re-parametrize solutions to parts (b,c) based on ranges of nonnegative integers?