صور | قاموس | برامج | العاب | اعلانات مبوبة  
 اسم المستخدم حفظ بيانات الدخول 
كلمة المرور
  المنتديات  > لغات برمجة
  يا جماعة ممكن تساعدوني ..........
 

 



  [ الاثنين 24 ديسمبر 2007 ] 
  نسخة سريعة   
 

  عدد القراءات : 84


  البلد : فلسطين
  عدد المشاركات : 1
 
 

انا عاوز حدا بعرف بلغة السي يعملي البرنامج هاد


Suppose you are working in accompany . Your manger asked you to design a reservation system using the following rules



Employee ID, address, salary, tax, date of birth, number of years he had in the company, martial status, number of children(if he had), reserve money, insurence.



The salary=main salary+years*A-tax-insurance(for single user)



But salary=main salary+years*B+20(wife)+children*8-insurance(if he has)-tax



Notes: tax=25% of total salary.



. A=15 if number of years<=10.



. B=20 if number of years >10



.Insurence=10*number of family persons the employee has.



.Reserved money=18% of the main salary.



-your program must contain an array (you may use array of structure and function).



1-the program must proceed the following menus:





Main menu:



1-To have any information about any employee enter I.



2-To add new employee enter Y.



3- To display the name of employee he has maximum salary enter M.



4- To sort the employees according to there ID"s enter s.



5- To exit enter X.




If the user input I, the following menu should be appeared:





Employee"s information:



1- To search about any employee enters.(By ID number).



2- To display the total salaries of the searched employee enter T.



3- To display the reserved money of the searched employee enter V.



4- To display age of the searched employee enter G.



5- To update the information enter U.(the reverse money).



6- To exit press Q.




  من مواضيع TravolTa207
      يا جماعة ممكن تساعدوني ..........



   
[ الاربعاء 30 يناير 2008 ]  

  البلد : سورية  : المدينة : حلب
« مشرف عام »
  عدد المشاركات : 569
 
ادخل موقع
http://arab.takeacoder.com











اسم المستخدم                      كلمة المرور

حفظ بيانات الدخول

 مستخدم جديد


تحميل العاب كاملة - تحميل برامج
Page generated in 0.1094 ms
at 12/10/2008 09:37:39
Ares . Kaspersky . Yahoo .  YouTube .  Flash Player   .  الوافي الذهبي . RealPlayer . الماسنجر .  NOD32 . bearshare . LimeWire . winrar