SlideShare ist ein Scribd-Unternehmen logo
1 von 5
Pizza ordering simulation program.
 Class Food created.
 Queue template class created.
 Queue data structure used.
 Data stored in STRUCs as part of the Food class
 Linked list class used to implement the Queue class
 Dynamic array used for manipulate the customer
orders.
 Performing Searching and sorting.
 Counting time to finish cooking (in progress)
 The user has been show a list of Pizzas to choose from.
(Pizzas stored in an array)
 After each selection the user is asked do they want to
continue choosing from pizza section?
 If “Yes” the selection continues until customer decides
to stop (select “No”).
 After that second array is visualized to show
 Sides(appetizers) to choose from.
 While the customer choosing an items every single one
is send to a Queue that stores it.
 When the whole selection process is done a Dynamic
array is created the data from the Queue is send to it.
 Once the dynamic array is filled with data a searched is
performed to determine the element with lowest “time
to cook” a swap is done immediately after that so the
object with lowest cooking time is placed on first
position.
Finally selection sort is performed to present all the
ordered items in ascending order sorted by cooking
time.

Weitere ähnliche Inhalte

Andere mochten auch

Andere mochten auch (6)

Dashboard
DashboardDashboard
Dashboard
 
Ubunto Server VPN Implementation
Ubunto Server VPN ImplementationUbunto Server VPN Implementation
Ubunto Server VPN Implementation
 
Spain famous cities
Spain famous citiesSpain famous cities
Spain famous cities
 
Indian Clothing (1970 - present)
Indian Clothing (1970 - present)Indian Clothing (1970 - present)
Indian Clothing (1970 - present)
 
Smart TV and APIs
Smart TV and APIsSmart TV and APIs
Smart TV and APIs
 
Material Science
Material ScienceMaterial Science
Material Science
 

Mehr von Daisy LaFlamme

Human Computer Interaction Project
Human Computer Interaction ProjectHuman Computer Interaction Project
Human Computer Interaction ProjectDaisy LaFlamme
 
Boston Strategics Tapboost
Boston Strategics TapboostBoston Strategics Tapboost
Boston Strategics TapboostDaisy LaFlamme
 
Presentation for UMass Workshop
Presentation for UMass WorkshopPresentation for UMass Workshop
Presentation for UMass WorkshopDaisy LaFlamme
 
U mass data-project proposal-noapp
U mass data-project proposal-noappU mass data-project proposal-noapp
U mass data-project proposal-noappDaisy LaFlamme
 
College miner blackboard_tracking
College miner blackboard_trackingCollege miner blackboard_tracking
College miner blackboard_trackingDaisy LaFlamme
 
U mass pp-maine-conference-v1
U mass pp-maine-conference-v1U mass pp-maine-conference-v1
U mass pp-maine-conference-v1Daisy LaFlamme
 

Mehr von Daisy LaFlamme (8)

JS Girls
JS GirlsJS Girls
JS Girls
 
Human Computer Interaction Project
Human Computer Interaction ProjectHuman Computer Interaction Project
Human Computer Interaction Project
 
Bs tapboost-may-16-14
Bs tapboost-may-16-14Bs tapboost-may-16-14
Bs tapboost-may-16-14
 
Boston Strategics Tapboost
Boston Strategics TapboostBoston Strategics Tapboost
Boston Strategics Tapboost
 
Presentation for UMass Workshop
Presentation for UMass WorkshopPresentation for UMass Workshop
Presentation for UMass Workshop
 
U mass data-project proposal-noapp
U mass data-project proposal-noappU mass data-project proposal-noapp
U mass data-project proposal-noapp
 
College miner blackboard_tracking
College miner blackboard_trackingCollege miner blackboard_tracking
College miner blackboard_tracking
 
U mass pp-maine-conference-v1
U mass pp-maine-conference-v1U mass pp-maine-conference-v1
U mass pp-maine-conference-v1
 

Kürzlich hochgeladen

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 

Kürzlich hochgeladen (20)

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 

Pizza Ordering Simulation Program Uses Queues and Sorting

  • 2.  Class Food created.  Queue template class created.  Queue data structure used.  Data stored in STRUCs as part of the Food class  Linked list class used to implement the Queue class  Dynamic array used for manipulate the customer orders.  Performing Searching and sorting.  Counting time to finish cooking (in progress)
  • 3.  The user has been show a list of Pizzas to choose from. (Pizzas stored in an array)  After each selection the user is asked do they want to continue choosing from pizza section?  If “Yes” the selection continues until customer decides to stop (select “No”).  After that second array is visualized to show  Sides(appetizers) to choose from.
  • 4.  While the customer choosing an items every single one is send to a Queue that stores it.  When the whole selection process is done a Dynamic array is created the data from the Queue is send to it.  Once the dynamic array is filled with data a searched is performed to determine the element with lowest “time to cook” a swap is done immediately after that so the object with lowest cooking time is placed on first position.
  • 5. Finally selection sort is performed to present all the ordered items in ascending order sorted by cooking time.