Question: Problem # 1 - Develop an algorithm to solve the following problem. Write the pseudocode that will show your solution. Your pseudocode should be written
Problem # Develop an algorithm to solve the following problem. Write the pseudocode that
will show your solution. Your pseudocode should be written and submitted as a Word document.
Be mindful to:
Write each statement as a sentence fragment.
Begin each statement with an appropriate verb.
Be consistent with the names of each piece of information that is used in the solution.
Problem Statement: Popcorn Profit There are components that are needed for a serving
of popcorn at a movie theater; the popcorn, the butter substitute, and the bucket. What
steps would be needed to determine the amount of profit that will be earned from each
serving of popcorn that is sold?
Remember when evaluating the problem, you need to identify:
Output only one piece of information is being asked for in this problem
Inputs hint: the user will need to provide pieces of information here to be able to solve
the problem
Processes Steps needed to use the input values to calculate the output.
Generate a Data Dictionary that provides the name for each value that is used in the pseudocode
giving the value a name in camelCasing format and a short description:
For example:
amountOfProfit The total profit that is earned on each bucket of popcorn sold.
Each value and description need to be entered on a separate line.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
