Emmanuel, a student at a Los Angeles high school, kept track of the calorie content of all the snacks he ate for one week. He also took note of whether the snack was mostly “sweet” or “salty.”
The sweet snacks: 90, 310, 500, 500, 600, 90
The salty snacks: 150, 600, 500, 550
Write these data as they might appear in
(a) Stacked format with codes
(b) Unstacked format.