Since we have to find how many outcomes are there in this survey, here we use combinations formula.
Thus, total outcomes
Thus, total number of outcomes is
Let A, B, and C be sets. Show that
Consider the following pseudocode function. function Crunch