Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Input: Processing Items: Output: Number of Donuts ordered Number of muffins ordered Item price Processing items: none Total number of items ordered total cost Algorithm:

image text in transcribedimage text in transcribedimage text in transcribed

Input: Processing Items: Output: Number of Donuts ordered Number of muffins ordered Item price Processing items: none Total number of items ordered total cost Algorithm: 1. Enter the number of doughnuts ordered, number of muffins ordered and item price. 2. Calculate the total number of items ordered by adding together the number of doughnuts ordered and number of muffins ordered 3. Calculate the total cost by multiplying the total number of items ordered by the item price 4. Display the total number of items ordered and total cost First Desk-Check 4 (number of doughnuts ordered) +2 (number of muffins ordered) 6 (total number of items) x 0.50 (Item Price) $3.00 (total cost) Second Desk-Check 0 (number of doughnuts ordered) +12 number of muffins ordered) 12 (total number of items) x 0.45 (Item Price) $5.40 (total cost) Number of doughnuts ordered Number of muffins ordered Item Price total number of items total cost 2 0.50 Number of doughnuts ordered Number of muffins ordered Item Price total number of items total cost 2 0.50 6 3.00 Number of doughnuts ordered Number of muffins ordered item Price total number of items total cost 4 2 0.50 6 3.00 0 12 0.45 12 5.40 Jericho Bakery sells a variety of doughnuts and muffins for $0.50 each. The manager of the bakery wants a program that calculates and displays the total number of items (doughnuts and muffins) purchased by a customer, as well as the total cost of the order Based on the lab assignment 2 IPO chart, create a program based on the problem specification above

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Excel As Your Database

Authors: Paul Cornell

1st Edition

1590597516, 978-1590597514

More Books

Students also viewed these Databases questions

Question

3. Uncover needs:

Answered: 1 week ago

Question

define EFFECTIVE PARTICIPATION

Answered: 1 week ago