Write a program that simulates this environment

Assignment Help Computer Engineering
Reference no: EM132095181

Please if your code don't work, please don't answer the question . I was struggling with the question, with time i would be able to answer the question but i've got limited time. This Program is in C++.

Problem Statement

Customers of the Muscat Group are required to come in once a month to handle personal business. Each customer gets 10 minutes with a consultant in order to complete their business.

At the end of the 10 minutes the consultant ends the conversation with the current customer and invites a new customer who has been waiting to come. At this point the previous customer can say they have finished their business or they can determine if they must get back into the wait state. In order to ensure each customer is seen, each customer who repeatedly gets in line does so with a lower priority.

That is, first time seen customers have a higher priority then the second attempt customers. The second attempt customers have a higher priority than the third attempt customers and so on.

Write a program that simulates this environment and asks the customers if they have finished or require more time with a consultant.

NOTE: It is important to remember that you have to choose the appropriate data structures and members to represent a customer.

Reference no: EM132095181

Questions Cloud

What amount should be reported in the statement : What amount should be reported in the statement of financial position for the patent, net of accumulated amortization, at December 31, 2015
How would you change all occurrences of the word : How would you change all occurrences of the word "Welcome" to "Good Morning" in WordPress page content when a page (type) is viewed before 11AM?
Why is look-up faster for a binary search tree : Why is look-up faster for a Binary Search Tree then Linked List?Why is it difficult to perform a binary search on a linked list?
Compute the depreciation expense : The cost of this machine was €150,000. Compute the depreciation expense under the activity method for 2015, assuming that machine usage was 800 hours
Write a program that simulates this environment : Write a program that simulates this environment and asks the customers if they have finished or require more time with a consultant.
Create a problem hamming code probelmyourself : Create a problem hamming code probelmyourself, solve it, and explain HOW/WHY this method works for error detection and correction.
Prepare a bank reconciliation for jamison company : Prepare a bank reconciliation for Jamison Company for July which reconciles the balance per books and the balance per bank to their adjusted correct balances
Discuss the reasons for conducting a design review : Summarize and discuss the reasons for conducting a design review and how you would select the attendees.
How much will this investment in automation cost : An additional $4 per point of automation applies to any new capacity. How much will this investment in automation cost?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd