السلالالالالالالالالالالام عليكم :)
كيفكم ان شاء الله بخير
انا ادرس برمجه ++c
وو عندي سؤال لازم احله و الصراحه حاولت بس ما عرفت :(
فاللي يعرف اذا سمحتوووو يساعدني
plz plz plz
لسؤال هو
Q1: Write an algorithm that will determine the monthly Gross pay for each of several salesmen. The company pays “straight time” for the first 160 hours worked by each salesman and pays “time-and-a-half” for all hours worked in excess of 40 hours. Also the company pays a commission on sale, which is SR10 per sale if the salesman reach his/ her quota (quota = 50 sales), and SR15 per sale if he/ she exceed the quota. You are given a list of the employees of the company with their Id number, the number of hours each employee worked last month, the hourly rate of each employee, and the number of items he/ she sold last month. You’re algorithm should input this data for each employee, and should determine and display the employee’s Id number and his/ her Gross pay.
ملاحظه
q Gross Pay = Net Pay + Over-time + Commission
اذ ممكن تحلووون لي بالابسيدو كود