A soft drink company recently surveyed 12,467 of its customers and found that approximately 14 percent of those surveyed purchase one or more energy drinks per week. Of those customers who purchase energy drinks, approximately 64 percent of them prefer citrus flavored energy drinks. Write a program that displays the following:
The approximate number of customers in the survey who purchased one or more energy drinks per week
The approximate number of customers in the survey who prefer citrus flavored energy drinks
Breaking it down
Output
Unit tests
Level Up
Format the number of people surveyed with commas
Since it isn't possible to have parts of a person, round up or down to have a whole number in the calculateEnergyDrinkers and calculatePreferCitris methods.