منتديات المجاوشي

منتديات المجاوشي (http://www.vb.mjawshy.net/index.php)
-   Arabic Rss (http://www.vb.mjawshy.net/forumdisplay.php?f=41)
-   -   ارجو مساعدتي في حل السؤال ( C Programming ) (http://www.vb.mjawshy.net/showthread.php?t=415475)

RSS 03-26-2014 05:39 PM

ارجو مساعدتي في حل السؤال ( C Programming )
 
بسم الله الرحمن الرحيم

السلام عليكم ورحمة الله وبركاته


كيفكم ؟

ارجو مساعدتي في حل السؤال ( C Programming )

والسؤال هذا :

رمز Code:



Write a c program to calculate the pay bill of an employee in a company.
Input:
Employee id
(Employee designation(manager or worker
basic salary
HRA
DA
Number of overtime

Process:
,
,If employee designation is
Manager
If the basic salary is less than RO.1500,than HRA=10%of basic .salary and DA=90% of basic salary







if the basic salary is either equal to or above RO.1500,than HRA=RO.500 and DA=98% of basic salary.
The overtime payment is 6 omani Rials per ho
Overtime payment=number of overtime hours*6
Gross salary=basic salary+HRA+DA+overtime




Output:
Print the following:
Employee id
Employee designation
Basic salary
HRA
DA
Overtime payment
Gross salary.











أكثر...


الساعة الآن 06:11 AM

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd. منتديات بلاك بيري mjawshy.net
المجاوشي للتقنية المتقدمة