ماشاء الله تبارك الله ماشاء الله لاقوة الا بالله , اللهم اني اسالك الهدى والتقى والعفاف والغنى
" قُلْ أَعُوذُ بِرَبِّ الْفَلَقِ *مِن شَرِّ مَا خَلَقَ * وَمِن شَرِّ غَاسِقٍ إِذَا وَقَبَ * وَمِن شَرِّ النَّفَّاثَاتِ فِي الْعُقَدِ * وَمِن شَرِّ حَاسِدٍ إِذَا حَسَدَ ". صدق الله العظيم
الساده الاعضاء و زوار منتديات المهندسين العرب الكرام , , مشاهده القنوات الفضائيه بدون كارت مخالف للقوانين والمنتدى للغرض التعليمى فقط
   
Press Here To Hidden Advertise.:: إعلانات منتديات المهندسين العرب لطلب الاعلان عمل موضوع بقسم الشكاوي ::.

 IPTV Reseller

  لطلب الاعلان عمل موضوع بقسم طلبات الاعلانات اسفل المنتدى لطلب الاعلان عمل موضوع بقسم طلبات الاعلانات اسفل المنتدى لطلب الاعلان عمل موضوع بقسم طلبات الاعلانات اسفل المنتدى

Powerd By : Mohandsen.com

العودة   المهندسين العرب > المنتديات الفضائية > قسم لغات البرمجه

إضافة رد
 
أدوات الموضوع انواع عرض الموضوع
  رقم المشاركة : ( 1 )  
قديم 2/1/2013, 02:45 AM
 
المهندسة ولاء
مـهـند س جـديـد

 الأوسمة و جوائز
 بينات الاتصال بالعضو
 اخر مواضيع العضو
  المهندسة ولاء غير متصل  
الملف الشخصي
رقم العضوية : 318824
تاريخ التسجيل : Jan 2013
العمـر : 29
الـجنـس :
الدولـة :
المشاركـات : 2 [+]
آخــر تواجـد : ()
عدد الـنقـاط : 50
قوة التـرشيـح : المهندسة ولاء يستاهل التقييم
new ارجو المساعدة ضروري؟

[Using C programming ********, develop a simple Electricity Distribution Management System (EDMS). This system is designed to help the company's employee in managing and maintaining clients information and their financial records up to date. Keep in mind that the system can support up to 50 clients.

You must use functions and arrays to perform this project.

The program should do the following:

a) Display a Main Menu that contains main system transactions

--[--------------- Main Menu ----------------

1. Add New Client.
2. Manage Clients.
3. View All Clients.
4. View All Clients for specific Branch.
5. Sort Clients.
6. Exit.[/COLOR]
-------------------------------------------------

b) Ask the user to input his choice from the previous Main Menu.
 Add New Client :
In case the user chooses 1 from Main Menu, the program should ask the user to input the following:
- Client ID [Integer Value]. It must be a unique number and not be duplicated.
- Client **** [Array of char with length 30 characters].
- Branch [Array of char with length 20 characters].
Current Meter reading (القراءة الحالية للعدّاد) and total financial dues((المستحقات المالية [both Floating point Values] are initialized to zero.

 Manage Clients.
In case the user chooses 2 from Main Menu, the program should invoke the following Sub Menu. This Sub Menu will continue to be displayed until the user chooses 5.:


*********** Sub Menu ***********
1) Search Clients.
2) Delete Client.
3) Update Meter Reading.
4) Pay Financial Dues.
5) Return Back to Main Menu.[/COLOR]
*******************************

Ask the user to input his choice from the Sub Menu:
- Search Clients: This function return client index where it found in the client ID Array or
returns -1 if not found. The returned index can be used to display specific client information.
- Delete Client: Delete all client's information according to the entered Client ID.


Update Meter Reading:

- Ask the user to input client id. If the entered client id exists then:
- Ask the user to input the new meter reading(It must be greater than the current meter reading)
- Calculate the amount consumed by the client:
(Consumed Amount الكمية المستهلكة = new meter reading – current meter reading)
- Calculate the new financial dues= Consumed Amount * 2 $
- Update the financial dues with the new calculated one.
- Finally update the clients meter reading with the new entered one.

- Pay Financial Dues:

- Ask the user to input client id. If the entered client id exists then:
- Ask the user to input the payment amount (Payment amount must be greater than 2 and less
than or equal the current financial dues).
- Subtract the payment amount from current financial dues.
- Update the financial dues with the new calculated one.
- Your program must ask the user if he wants to continue to enter another payment amount. If
the answer is [y/Y] continue otherwise return back to Sub Menu.

- Return to Main Menu: The program returns control to Main Menu.

 View All Clients :
In case the user chooses 3 from Main Menu, the program should display all existing clients information in a suitable format.

 View All Clients for specific Branch:
In case the user chooses 4 from Main Menu, ask the user to input the specific branch. Then, the program should display all existing clients information for this particular branch in a suitable format.

 Sort Clients :
In case the user chooses 5 from Main Menu, the program should sort the clients according to the financial dues in descending order.

 Exit :
In case the user chooses 4 from Main Menu, the program should be terminated. Note: This is the only way to exit from the program.

رد مع اقتباس
إضافة رد

مواقع النشر (المفضلة)


الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1)
 

تعليمات المشاركة
لا تستطيع إضافة مواضيع جديدة
لا تستطيع الرد على المواضيع
لا تستطيع إرفاق ملفات
لا تستطيع تعديل مشاركاتك

BB code is متاحة
كود [IMG] متاحة
كود HTML معطلة

الانتقال السريع


الساعة الآن 03:30 PM


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd. TranZ By Almuhajir

Google Adsense Privacy Policy | سياسة الخصوصية لـ جوجل ادسنس

الساده الاعضاء و زوار منتديات المهندسين العرب الكرام , , مشاهده القنوات الفضائيه بدون كارت مخالف للقوانين والمنتدى للغرض التعليمى فقط

RSS RSS 2.0 XML MAP HTML

^-^ جميع آلمشآركآت آلمكتوبهـ تعبّر عن وجهة نظر صآحبهآ ,, ولا تعبّر بأي شكلـ من آلأشكآل عن وجهة نظر إدآرة آلمنتدى ~