What is the problem in a programmer point of view ?

Joined
Mar 8, 2024
Messages
1
Reaction score
0
when a company is trying to give 20% discount to the 3 customers who have flown the most miles with the company.

Filling out in an Excel file how many miles have been traveled for every customer with the company; and then crossing over the customers information who has bought more tickets in the Excel file;

There the previously mentioned company gets the error that when generating the miles report in the system there appears duplicated IDs for different customers
 
Joined
Mar 27, 2024
Messages
7
Reaction score
0
The company faces the following problems from the programming point of view:
1. Calculate Miles Flown
2. Identify the Top 3 Customers
3. Apply Discount
4. Cross-Check Customer Information
5. Error Handling
The company should implement data validation checks to solve the issue of duplicate IDs of different customers.
 
Joined
Nov 23, 2023
Messages
48
Reaction score
2
when a company is trying to give 20% discount to the 3 customers who have flown the most miles with the company.

Filling out in an Excel file how many miles have been traveled for every customer with the company; and then crossing over the customers information who has bought more tickets in the Excel file;

There the previously mentioned company gets the error that when generating the miles report in the system there appears duplicated IDs for different customers
However, if we were to force an analogy into the world of programming, we could say the problem is to choose the right "filter" (golden hour or blue hour) to achieve a desired aesthetic output (dramatic landscape).
 
Joined
Nov 23, 2023
Messages
48
Reaction score
2
when a company is trying to give 20% discount to the 3 customers who have flown the most miles with the company.

Filling out in an Excel file how many miles have been traveled for every customer with the company; and then crossing over the customers information who has bought more tickets in the Excel file;

There the previously mentioned company gets the error that when generating the miles report in the system there appears duplicated IDs for different customers
The current method identifies top flyers based on miles, but the company wants to consider ticket purchases too.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,008
Latest member
Rahul737

Latest Threads

Top