Example #1
0
 private void GetOpinion()
 {
     if (customer.badTaste)
     {
         customerComplaints[0]++;
     }
     if (customer.tooExpensive)
     {
         customerComplaints[1]++;
     }
     if (!customer.CheckLemons())
     {
         customerComplaints[2]++;
     }
     if (!customer.CheckSugar())
     {
         customerComplaints[3]++;
     }
     if (!customer.CheckIce())
     {
         customerComplaints[4]++;
     }
 }