# Program logic design

• Assignment 1: Chocolate Delights Candy Company, Part 1
Due Week 5 and worth 210 points

Chocolate Delights Candy Company manufactures several types of candy.

Design a flowchart using Visual Logic for the following:
1. A program that accepts a candy name (for example, “ chocolate-covered blueberries”), price per pound, and number of pounds sold in the average month, and displays the item’s data only if it is a best-selling item. Best-selling items are those that sell more than 2,000 pounds per month.
2. A program that accepts candy data continuously until a sentinel value is entered and displays a list of high-priced, best-selling items. High-priced items are those that sell for \$10 per pound or more.
3. Identify outcomes in Visual Logic the lowest-selling items (those that sell 200 pounds or less). This way, owners can decide if they want to put those items on sale, lower their price, discontinue the item, etc.
4. Identify outcomes in Visual Logic the items that generate the most income. In other words, multiply the price per pound times the number of pounds sold per month, and list items that generate \$6,000 or more per month.
Note: The Visual Logic program that you create must be fully functional in order for you to get full credit. If you want to include a short write-up to explain your logic further, you may do so in order to receive additional credit. The specific course learning outcomes associated with this assignment are:
• Demonstrate the use of algorithms and pseudocoding to the problem-solving process.
• Distinguish among the basic types, steps, and properties of programming.
• Apply the techniques of functional decomposition, modularization techniques, and debugging strategies into program design.
• Describe the features and fundamental data structures of programming design.
• Select and create the appropriate conditional and iteration constructs for a given programming task.

1. 👍 0
2. 👎 0
3. 👁 307
1. cerritos.edu/pnguyen/cis103/labs/cis103home5sol.htm

1. 👍 0
2. 👎 0
2. njkjn

1. 👍 0
2. 👎 0

## Similar Questions

The electrons in the beam of a television tube have a kinetic energy of 2.10 10-15 J. Initially, the electrons move horizontally from west to east. The vertical component of the earth's magnetic field points down, toward the

asked by Mary on September 29, 2007
2. ### math

Ellen wishes to mix candy worth \$1.64 per pound with candy worth \$3.46 per pound to form 20 pounds of mixture worth \$3.00 per pound. How many pounds of the more expensive candy should she use?

asked by Monica on July 3, 2013
3. ### math

Part A: Max rented a motorbike at \$465 for 5 days. If he rents the same motorbike for a week, he has to pay a total rent of \$625. Write an equation in the standard form to represent the total rent (y) that Max has to pay for

asked by katrina on December 12, 2016
4. ### statistics

Do you want to own your own candy store? Wow! With some interest in running your own business and a decent credit rating, you can probably get a bank loan on startup costs for franchises such as Candy Express, The Fudge Company,

asked by noell on November 5, 2012
5. ### Algebra

Students get two grades for a test in an introductory psychology course: a letter grade, and a numerical equivalent (weighted value). So an A is worth 4 points, a B is worth 3 points, a C is worth 2 points, a D is worth 1 point,

asked by Camry on September 9, 2015
1. ### Algebra 1

Candy worth \$2.45 per pound is mixed with candy worth \$2.30 per pound.How much of each kind of candy must be used to have 30 pounds of a mixture worth \$2.35 per pound?

asked by Bella on June 28, 2011
2. ### Math

Dominic earns \$18 an hour plus \$25 an hour for every hour of overtime. Overtime hours are any hours more than 35 hours for the week. Part A: Create an equation that shows the amount of money earned, E, for working x hours in a

asked by B&PT on May 16, 2017
3. ### statistics

A manufacturing company produces 10,000 plastic glasses per week. This company supplies plastic glasses to another company, which packages the glasses as part of picnic sets. The second company randomly samples 10 glasses from the

asked by happy on May 4, 2013
4. ### algebra

On a trivia game show, a contestent will answer 21 questions. A maximum of 200 points cana be earned. Some questions are worth 10 points and some are worth 8 points. Howmany of each point-value question must the contestent answer

asked by mag on April 29, 2013
5. ### Computer Programming

2. Chocolate Delights Candy Company manufactures several types of candy. Design a flowchart or pseudocode for a program that accepts a candy name (for example, "chocolate-covered blueberries"), price per pound, and number of

asked by Linda on September 7, 2015