Question 4

Company will start a new marketing campaign targeting the users according

to their purchasing profiles.

This campaign has 3 kinds of messages each one targeting one group of customers:

Message 1 – targets the 25% of customers that spend most at the site

Message 2 – targets the 25% of customers that spend least at the site

Message 3 – targets the rest of the customers.

Given the list of purchases made during the week, write a program that lists

what kind of message each customer will receive.

Each purchase in this list features the customer id, the purchase amount among other information.

[advanced_iframe securitykey=”undefined” src=”” width=”100%” height=”600″]