A group of my students from Facilities Management class decided to help Tim Hort
ID: 379323 • Letter: A
Question
A group of my students from Facilities Management class decided to help Tim Horton to improve its express store arrangement. They surveyed Tim’s customers and collected the following information:
1. 37% of all customers prefer the sequence of ABCDEFG
2. 38% of all customers prefer the sequence of CBADEFG
3. 12% of all customers prefer the sequence of BADEFG
4. 8% of all customers prefer the sequence of ACDEFG
5. 5% of all customers prefer the sequence of AFG
Where:
A: is pouring coffee
B: is dispensing milk or cream
C: is adding sugar
D: is stirring
E: is throwing stirrer in garbage can
F: is putting a lid
G: is paying to cashier
Currently Tim Horton express in C wing has an arrangement of CBFDAGE which is Sugar, Cream, Lid, Stirrer, Coffee, Pay, Garbage. Use below methods: modify Tim’s arrangement to minimize backtrack.
1. From-To-Chart Method
2.String Diagram
Explanation / Answer
public class Person {
private String Name; // The Persons Name
private int phoneNumber; // The Persons Phone Number
private String address; // The Persons Address
public Person()
{
Name="";
phoneNumber = 0;
address = "";
}
public Person (String n, int pn, String ad)
{
Name = n;
phoneNumber = pn;
address = ad;
}
public void setName(String n)
{
Name = n;
}
public void setidnumber(int pn)
{
phoneNumber = pn;
}
public void setdepartmen(String ad)
{
address = ad;
}
public String getName()
{
return Name;
}
public int getphoneNumber()
{
return phoneNumber;
}
public String getaddress()
{
return address;
}
}
======================================...
public class Customer extends Person {
private int customerNumber; // The Customers Number
private String eMail; // The Customers E-Maill
public Customer()
{
}
public Customer (String n, int pn,String ad, int cn, String em)
{
super(n, pn,ad);
customerNumber = cn;
eMail = em;
}
public int getCustomerNumber() {
return customerNumber;
}
public String geteMail() {
return eMail;
}
public void setCustomerNumber(int customerNumber) {
this.customerNumber = customerNumber;
}
public void seteMail(String eMail) {
this.eMail = eMail;
}
}
class PreferredCustomer
247 {
248 private:
249 double total;
250 double discount;
251
252 public:
253 double get purchasesAmount(); // I'm not sure if these are correct
254 double get discount();
255 double setpurchasesAmount(double t);
256 double set discountLevel(double d); // Should these be void then set?
257
258 // PreferredCustomer.cpp
259
260 // I don't think I did these functions right...I got myself all confused when I was doing this because there were so many distractions around me...
261
262 double PreferredCustomer::getpurchasesAmount()
263 {
264 total = t;
265 return t;
266 }
267
268 double PreferredCustomer::getdiscountLevel()
269 {
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.