Question: Milestone 1 Your Uncle Rocco Calzone has recently started a new business venture - a very popular entertainment complex featuring an arcade, bowling alley and
Milestone
Your Uncle Rocco Calzone has recently started a new
business venture a very popular entertainment
complex featuring an arcade, bowling alley and
pizzeria, aptly named RetroSlice. He asked for your
help to create an application that determines the list
of Retroslicers loyal customers who have qualified
for the game token credit. Each input record contains
the applicant's name, age, high score rank, starting
date as a loyal customer, number of pizzas consumed since first visit, bowling high score and
current employment status, slushpuppy flavour preference, slushpuppies consumed since
first visit.
The functional requirements are given as follows:
Create a method that will capture the applicant's details and store them in a collection.
Make sure the data has been formatted appropriately to be saved on the collection.
Your method should return the collection.
Allow users to input as many applicants' data as they want until they press for o or for
Yes if asked if "they still want to capture any more applicants".
Create a method that uses the method you used to capture details that returned a collection for
each applicant and determine if they qualify for credit or not.
The store grants game token credit if the applicant:
Is employed or their parents are; if they are younger than
Has been a loyal customer for at least years.
Has either a high score rank above or a bowling high score above or a combined
average above
Has eaten at least an average of pizzas a month.
However, game tokens are denied if they haven't consumed more than slushpuppies
per month, or if their preference is the 'Gooey Gulp Galore'.
The applicants who qualify for game tokens must be stored in a collection.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
