Reference no: EM133519779
Question
1. Circuit Board Price An electronics company sells circuit boards at a 35 percent profit. Write a program that will calculate the selling price of a circuit board that costs $14.95. Display the result on the screen.
2. Personal Information Write a program that displays the following pieces of information, each on a separate line: Your name Your address, with city, state, and ZIP code Your telephone number Your college major Use only a single cout statement to display all of this information.
3. . Stock Commission Kathryn bought 750 shares of stock at a price of $35.00 per share. She must pay her stockbroker a 2 percent commission for the transaction. Write a program that calcu-lates and displays the following:
• The amount paid for the stock alone (without the commission).
• The amount of the commission.
• The total amount paid (for the stock plus the commission).
4. Energy Drink Consumption A soft drink company recently surveyed 16,500 of its customers and found that approxi-mately 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.