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

  How should the free list be organized

How should the free list be organized if we plan to use best-fit strategy? How should the free list be organized if we plan to use worst-fit strategy? Explain.

  Which form of inter-module communication would you choose

If these two modules are distributed on two different machines, which form of inter-module communication would you choose to use? Why?

  How many are decision-support systems

How many are decision-support systems? How many are strategic planning systems? Are there any other useful categories of systems?

  Supporting day-to-day working activities of organization

In order to support the day-to-day working activities of organization. Typical decisions include e-commerce transaction acceptance.

  What is the spectrum of a signal

What is the spectrum of a signal? What is the bandwidth of a signal? Why would analog data have to be modulated onto an analog signal?

  Explain the formal change management system

The project could fail because the cost of a key component has increased and we could build a product that does not achieve its production cost target.

  How should the operating system allocate its disk space

Suppose a computer system and all of its applications are completely bug free. Suppose further that everyone in the world is completely honest and trustworthy.

  Data integration and etl

Write down the data integration and ETL. How are they related? What is the data warehouse and state its benefits?

  You work for a regional forensic computer lab and have been

you work for a regional forensic computer lab and have been tasked with recovering all data from a suspects cellular

  Write a program that plays a simple trivia game

Write a program that plays a simple trivia game. The game should have five questions. Each question has a corresponding answer and point value between 1 and 3 based on the difficult of the question.

  Briefly describe your group project reflections

Briefly describe your group project reflections (some of the challenges encountered) in designing your e-business website

  Creating a program that creates a single tips object

Creating a program that creates a single Tips object

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