Write a program: Energy drink consumption A soft drink company recently surveyed
ID: 3620410 • Letter: W
Question
Write a program: Energy drink consumptionA soft drink company recently surveyed 12467 of its customers and found that approximately 14% of those surveyed purchase one or more energy drinks per week. Of those customers who purchase energy drinks, approximately 64% of them prefer citrus flavored energy drinks. Write a program that displays the following:
The approximate number of customers in the survey who purchase one or more energy drinks per week.
The approximate number of customers in the survey who prefer citrus flavored energy drinks.
Your program output should go to the terminal screen and look like the following:
********************************************
ENERGY DRINK CONSUMPTION
********************************************
Number of people surveyed: x
Number who purchase one or more energy drinks: y
Number who prefer citrus flavored energy drinks: z
Where x, y, and z are replaces with the actual numeric values your program calculates.