Home / Expert Answers / Computer Science / problem-1-develop-an-algorithm-to-solve-the-following-problem-write-the-pseudocode-that-will-sho-pa488

(Solved): Problem #1 - Develop an algorithm to solve the following problem. Write the pseudocode that will sho ...



Problem #1 - 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 3 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 4 pieces of information here to be able to solve the problem) - Process(es) – 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.



We have an Answer from Expert

View Expert Answer

Expert Answer


We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe