With the success of the pilot program of customer rewards by the fuel/convenience store chain (Fill'erUpSparty),...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
With the success of the pilot program of customer rewards by the fuel/convenience store chain (Fill'erUpSparty), you will help the customers to redeem any awards that they have earned. However, instead of redeeming awards at the end of the month, now the customer can redeem their rewards whenever they wish, either at the cash register or a reward redemption kiosk. In other words, a customer may choose to get their free drink as soon as they earn one by buying 5 drinks, or they can save up their rewards until after they have bought 20 drinks, in which case they could redeem 4 free drinks, one at a time. Points and/or drink and chips credits can be carried over for as long as the customer chooses. When a customer is ready to redeem a reward, the following happens: The customer will present their customer reward number, which is printed on their id card. The program will look up the customer number in a list called CustomerIDList that is already stored as part of the program. All of the data for a given customer is stored in parallel lists which are given in the starting code. This means that all of the information in each list is in the same order by customer. In other words, if customer 123456 is third in the list of customer IDs, their name will be third in the list of names, their number of drinks will be third in the list of drinks, etc. The program will ask for the customer's reward number with the following prompt: Enter a valid ID number, or -1 to quit for the day: Suppose the user enters ID 2569, which corresponds to customer Charles Babbage. The system will then print the accumulated rewards for Charles Babbage, as in the following: Welcome, Charles Babbage! Here are your earned purchases so far: Number of Drinks: Number of Chips: Number of Points: 8 6 218378 Charles Babbage is entitled to a free drink! Charles Babbage is entitled to a free bag of chips! Charles Babbage is entitled to a $25 gift card! Notice that the certificates are all the same size, and the customer's name and the reward are centered. If a customer requests a reward but does not have enough points, the following messages should be printed, as appropriate: Sorry, you don't have enough drink purchases for a free drink Sorry, you don't have enough chips purchases for a free bag of chips Sorry, you don't have enough points for a gift card Once a customer's reward certificate is printed, or the Sorry message is printed, the program should ask for another customer ID, and the whole process begins again. With the success of the pilot program of customer rewards by the fuel/convenience store chain (Fill'erUpSparty), you will help the customers to redeem any awards that they have earned. However, instead of redeeming awards at the end of the month, now the customer can redeem their rewards whenever they wish, either at the cash register or a reward redemption kiosk. In other words, a customer may choose to get their free drink as soon as they earn one by buying 5 drinks, or they can save up their rewards until after they have bought 20 drinks, in which case they could redeem 4 free drinks, one at a time. Points and/or drink and chips credits can be carried over for as long as the customer chooses. When a customer is ready to redeem a reward, the following happens: The customer will present their customer reward number, which is printed on their id card. The program will look up the customer number in a list called CustomerIDList that is already stored as part of the program. All of the data for a given customer is stored in parallel lists which are given in the starting code. This means that all of the information in each list is in the same order by customer. In other words, if customer 123456 is third in the list of customer IDs, their name will be third in the list of names, their number of drinks will be third in the list of drinks, etc. The program will ask for the customer's reward number with the following prompt: Enter a valid ID number, or -1 to quit for the day: Suppose the user enters ID 2569, which corresponds to customer Charles Babbage. The system will then print the accumulated rewards for Charles Babbage, as in the following: Welcome, Charles Babbage! Here are your earned purchases so far: Number of Drinks: Number of Chips: Number of Points: 8 6 218378 Charles Babbage is entitled to a free drink! Charles Babbage is entitled to a free bag of chips! Charles Babbage is entitled to a $25 gift card! Notice that the certificates are all the same size, and the customer's name and the reward are centered. If a customer requests a reward but does not have enough points, the following messages should be printed, as appropriate: Sorry, you don't have enough drink purchases for a free drink Sorry, you don't have enough chips purchases for a free bag of chips Sorry, you don't have enough points for a gift card Once a customer's reward certificate is printed, or the Sorry message is printed, the program should ask for another customer ID, and the whole process begins again.
Expert Answer:
Related Book For
Modern Systems Analysis And Design
ISBN: 9780134204925
8th Edition
Authors: Joseph Valacich, Joey George
Posted Date:
Students also viewed these accounting questions
-
Which is better? With the success of Bethune in motivating his employees for strong positive change in the organization, one would think Theory Y is the only way to go. McGregor certainly thought so...
-
With the success of your business, you are ready to establish a storefront. However, you do not have the necessary funds to acquire the building and pay the necessary rent. You are considering...
-
A grocery store chain has decided to help customers save money by instituting temporary repricing to help cut costs. Nine products from the sale flyer are featured below with their regular price and...
-
Access various employment Web sites (for example, www.monster.com and www.dice.com ) and find several job descriptions for a database administrator. Are the job descriptions similar? What are the...
-
The comparative condensed statements of financial position of Conard Corporation are presented on the shown below. Instructions (a) Prepare a horizontal analysis of the statement of financial...
-
For the plane truss shown in Figure P15 -3, bar element 2 is subjected to a uniform temperature rise of T = 60 °F. Let E = 30 Ã 106 psi, A = 2 in2, and a = 7.0 Ã 10-6 (in./in.)/...
-
In Example 13.5, we constructed a 95% confidence interval for the slope 1 in the model to predict the number of calories from the number of grams of fat. The 95% confidence interval is 4.8182 y|20 be...
-
Natalies high school friend, Katy Peterson, has been operating a bakery for approximately 18 months. Because Natalie has been so successful operating Cookie Creations, Katy would like to have Natalie...
-
How does ConAgra's view of differentiated stock market valuation at different stages of the value chain inform their strategy?
-
Find a current computer ad in a magazine or newspaper or online. Identify each of the featured items in the ad, show its position in the system block diagram of Figure 11.1, explain how it operates,...
-
(a) E(B) = mc 1-8 with m = 5.64910 20 kg and c = 3 108 m/s. (b) x(t) = A sin (g/L t + y) with A = 3 mm, g = 9.81 m/s2, L = 60 cm and p = 0.4 rad. (Calculator must be in radians.)
-
The scores of eight persons on the Stanford-Binet IQ test were: The median is: (1) 107 (2) 110 (3) 112 (4) 104 (5) none of the above 95 87 96 110 150 104 112 110
-
P(E|C) Find the indicated probabilities by referring to the given tree diagram and by using Bayess Rule. A P(A) = 0.2 P(E|A)=0.6 E P(ECA) = 0.4 -EC P(B) = 0.55 P(E|B)=0.7 -E B EC P(E|B) = 0.3 P(C) =...
-
In vectored exception handling, the table of exception handler addresses is in data memory at a known (fixed) address. Change the pipeline to implement this exception handling mechanism. Repeat...
-
P(E c |B) Find the indicated probabilities by referring to the given tree diagram and by using Bayess Rule. A P(A) = 0.2 P(E|A)=0.6 E P(ECA) = 0.4 -EC P(B) = 0.55 P(E|B)=0.7 -E B EC P(E|B) = 0.3 P(C)...
-
P(E c |A) Find the indicated probabilities by referring to the given tree diagram and by using Bayess Rule. A P(A) = 0.2 P(E|A)=0.6 E P(ECA) = 0.4 -EC P(B) = 0.55 P(E|B)=0.7 -E B EC P(E|B) = 0.3 P(C)...
-
Given that A + 2B reaction with 5 mol of A and 8 mol of B? A. D. 4 mol 5 mol BE C, what is the amount of C formed by starting the E. 8 mol 3 mol C. 16 mol
-
A glass manufacturer produces hand mirrors. Each mirror is supposed to meet company standards for such things as glass thickness, ability to reflect, size of handle, quality of glass, color of...
-
List the deliverables from the conceptual data modeling part of the analysis phase of the systems development process.
-
List and describe the advantages of top-down planning over other planning approaches.
-
In what ways could you identify that one IS project is riskier than another?
-
The ratio of successive amplitudes of a viscously damped single-degree-of-freedom system is found to be 18:1. Determine the ratio of successive amplitudes if the amount of damping is (a) doubled, and...
-
Find the variation of the displacement with time, \(x(t)\), of a damped single-degree-of-freedom system with \(\zeta=0.1\) for the following initial conditions: a. \(x(t=0)=x_{0}=0.2 \mathrm{~m},...
-
Find the variation of the displacement with time, \(x(t)\), of a damped single-degree-of-freedom system with \(\zeta=1.0\) for the following initial conditions: a. \(x(t=0)=x_{0}=0.2 \mathrm{~m},...
Study smarter with the SolutionInn App