Question: Using C++ 1. Implement code that contains variables of type pointer. 2. Implement your code Description of the problem: 1. (Gaddis) Program Challenges 18. Energy

Using C++

1. Implement code that contains variables of type pointer. 2. Implement your code Description of the problem: 1. (Gaddis) Program Challenges 18. Energy Drink Consumption page 82 Chap 2. 1. Define variables of type pointer pointing to the variables defined for the problem solution.

Using C++ 1. Implement code that contains variables of type pointer. 2. 2. Ask the user: a. The number of people surveyed b. The percentage of the number of people who have one or more drinks energizing. c. The percentage of people who drink energy drinks prefer citrus-flavored. 3. Do not implement functions.

18. Energy Drink Consumption A soft drink company recently surveyed 16,500 of its customers and found that approximately 15 percent of those surveyed purchase one or more energy drinks per week. Of those customers who purchase energy drinks, approximately 58 percent 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

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!