Home > Back-end >  Excuse me, bosses, the problem is how to solve? Problems didn't take long to learn C language.
Excuse me, bosses, the problem is how to solve? Problems didn't take long to learn C language.

Time:12-11

Enterprise staff annual sales and its bonus system
(1) the total number, first input and the number of employees working for initialization, data using the file storage;
2 according to the working staff and quarter prompts for corresponding sales, deposited in the data file,
(3) the bonus calculation function, according to the following requirements. Write out the calculation of bonus system and calculate the employees deserve bonus and stored in a file,
(1) the enterprise employee bonus commission percentage of the total sales (ratio) of its own sales
1 million and below 10%
11% of the 1 million - 1.5 million
12% of the 1.5 million - 2 million
13% of the 2 million - 2.5 million
14% of the 2.5 million - 3 million
More than 3 million 15%
(2) the highest number of annual sales performance, and an additional 10000 yuan,
(4) statistics, statistical annual sales and personal sales and the bonuses of their staff, and selected the highest sales staff for sales of stars and the star of the highest quarterly sales for the quarter,
5] modify function, modify the input to modify employee number and quarter quarterly sales, and the corresponding statistics also changed,
[6] in the beginning pictures add a simple menu to choose function,
Example: 1 system initialization
2 sales staff input
3 data changes
4 statistical
5 bonus
(7) file format your choose appropriate arrangement according to the format,

CodePudding user response:

First to write something on your own, there is a problem can be sent to

CodePudding user response:

Difficulty is unlikely, don't expect all by others and can ask questions, yourself don't write is not a good habit