C++高手请进,帮忙写个代码,急!

请运行确认无误后再上传,请用CLASS和FILE来做,还有注释.谢谢
以下是题目:
You are requested to create a C++ application to handle the payroll system of an event organizer
(give a name to the company).
The event organizer is paying its employees a basic salary of $1,750 and commission based on
the total cost of events he/she handled. Events are categorized into THREE (3): seminar and
corporate, wedding and party, and promotion and advertisement. For seminar and corporate
event, an employee is eligible for 8% commission from the total event cost. For wedding and
party event, an employee is eligible for 10% commission from the total event cost. Whereas for
seminar and corporate event, an employee is eligible for 15% commission from the total event
cost.
Your application should prompt the user for FIVE (5) sets of records consist of employee name
and total event cost. Your application then should calculate the commission and total income
earned by each employee.
You are requested to create a class called Employee, which should consist of at least FIVE (5)
member variables (name, total event cost, basic salary, commission, and total income) and TWO
(2) member functions (CalCommission and CalTotalIncome)
In your main function, prompt the user for FIVE (5) sets of records consist of employee name
and event cost; and save the input in data file called Employee.txt.
Retrieve Employee.txt and save the records as values of Employee class. Calculate and display
the commission and total income of each employee in function members CalCommission and
CalTotalIncome of class Employee. Save the new employee records (each record should
consist of name, total event cost, basic salary, commission, and total income) in a data file called
NewEmployee.txt.
Note that the output should be formatted into TWO (2) decimal places.

请你创建一个C + +应用程序来处理的发薪系统的一项活动组织者

(给一个名字,该公司) 。

这次活动的组织者支付其雇员的基本工资一七五〇美元和委员会的基础上

总费用的事件,他/她处理。活动分为三( 3 ) :讨论会和

企业,婚礼,聚会,推广和宣传。的研讨会和企业

事件,雇员有资格获得8 %的佣金从总的活动费用。婚礼和

党的活动,雇员有资格获得10 %的佣金的总活动的费用。而对

研讨会和企业活动,员工有资格获得15 %的佣金从总事件

成本。

您的申请,应提示用户( 5 )套记录包括员工的姓名

和总的活动费用。您的申请,然后计算应委员会和总收入

所赚取的每一位员工。

请你创造了一类所谓的员工,其中应包括
温馨提示:答案为网友推荐,仅供参考
第1个回答  2009-03-31
哥们!要传也传个中文的好不。谁有空帮你翻译啊
第2个回答  2009-04-11
晕死,有太多的高手遭你的英语难到啦!!!!!!!

相关了解……

你可能感兴趣的内容

本站内容来自于网友发表,不代表本站立场,仅表示其个人看法,不对其真实性、正确性、有效性作任何的担保
相关事宜请发邮件给我们
© 非常风气网