I have a C project for one of my courses. I 'll now give you the description of the project!
A shop has more from 1,000,000 customers. Each customer has his own member card which corresponds in one code. This code is constituted by 10 characters (ex. AB56AVF112). Depending on the money that the customer spends, he gains some points. So, I want to build a C project that it can give me information about:
1) How many times has each customer visited the shop
2) How many points has each customer gained
3) Who are the top 10 customers
I'll have two files for Input. The first text file gives me information about the money and the points (How many points correspond to a specific ammount.
(ex. 1;30;10 -> 10, 20 points etc
31;60;20 etc)
|-> 1$-30$, 31$-60$ etc
The second text file give me information about the customer and the money he spends in each visit in the shop.
(ex. ABC123DEF1;125 --> money
QWER587962;200 etc)
|-> customer's code
I don't ask you to tell me what to do, but every time that I have a question about something in the project I'll refer it here!
PS: I am sorry for my english!
A shop has more from 1,000,000 customers. Each customer has his own member card which corresponds in one code. This code is constituted by 10 characters (ex. AB56AVF112). Depending on the money that the customer spends, he gains some points. So, I want to build a C project that it can give me information about:
1) How many times has each customer visited the shop
2) How many points has each customer gained
3) Who are the top 10 customers
I'll have two files for Input. The first text file gives me information about the money and the points (How many points correspond to a specific ammount.
(ex. 1;30;10 -> 10, 20 points etc
31;60;20 etc)
|-> 1$-30$, 31$-60$ etc
The second text file give me information about the customer and the money he spends in each visit in the shop.
(ex. ABC123DEF1;125 --> money
QWER587962;200 etc)
|-> customer's code
I don't ask you to tell me what to do, but every time that I have a question about something in the project I'll refer it here!
PS: I am sorry for my english!
Comment