الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

[مخالف]مبرمج جافا

مغلق
بدأه مبرمج بلغة الجافا في 16 يناير 2008 · 4 رد · 1,011 مشاهدة · في JavaSE
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

بسم الله الرحمن الرحيم

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

انا عضو جديد في المنتدى وانا طالب جامعي مستوى سابع حاسب الي

واحب لغة الجافا كثير وعندي بعض المعلومات عن بعض المسائل

ولكني لست بدرجة المعرفة التامة رحم الله امرأ عرف قدر نفسه

ولكن بحاول بالي اعرف فلن ابخل بالمساعدة عن طريق المنتدى او عن طريق الايميل ولكم الشكر

#2

مشكورين على هذه مشاركة و نحنوا ننتظر مشاركاتك الجميلة في المنتدى....

winter-main.jpg

6179.gif

#3

انا طالبة مساعدتك عندي سوال بسيط ارجو ان تحلة لي

ممكن تدخل على السوال الي واضعة على صفحة منتدى الجافا كاتب طالب مساعدة في حل سوال وشرح ارجوكم

#4

السلام عليكم

ممكن يا اخي العزيز تساعدني في حل سؤالي

Object Oriented Programming

(JAVA)

Liz’s Taxi Service has proved so successful, boosted by her loyalty scheme for regular customers, that she has expanded her fleet to include vans and minibuses for hire, all driven by members of her highly-trained staff. Eager to maximise profits, she now wants to evaluate the efficiency of her drivers by logging each journey they make and analysing how swiftly they complete the job relative to the distance covered.

Each driver has a unique Driver Number. A journey takes place in a car, or van, or minibus (coded ‘C’, ‘V’ and ‘M’ respectively). The time taken (in whole minutes) and distance travelled (in whole miles) are both recorded.

To determine how speedily her drivers are working, Liz calculates the efficiency of each journey as the distance travelled divided by the time taken.*

Create a Java program to record each journey made by each driver in a file called journey.dat, and to perform various analysis tasks to assist Liz in monitoring driver efficiency. A typical line in the file might be

13 M 60 45

where driver 13 used a Minibus for 60 minutes and drove 45 miles. The efficiency value (calculated as necessary in the program, not stored in the file) would be 45 / 60 = 0.75

The system must be menu-driven and offer the following operations:

1

Append a new line of journey data to the file;

2

Provide a vehicle report for either

q

one specific category of vehicle (C / V / M) or for

q

each category of vehicle in turn (A for All)

showing for journeys in this vehicle either a

q

Summary (S) – number of journeys and average efficiency or a

q

Full report (F) – list of journeys (giving driver number and efficiency) plus summary information

3.

Provide a listing of the ten most efficient journeys (displaying driver number and efficiency value for each) in descending order. (Where fewer than ten journeys have been recorded all should be listed.)

Exit the system.

/index.ph...149083#_ftnref1

#5

تأسف إدارة الفريق العربي لغلق الموضوع وذلك لمخالفته قوانين المشاركات .

قواعد طرح المشاركات

/index.php?showtopic=29343

Theory is when you know something, but it doesn't work. Practice is when something works, but you don't know why. Programmers combine theory and practice: Nothing works and they don't know why

هذا الموضوع مغلق.

مواضيع مشابهة

عدد الزوار حالياً

المتواجدون خلال آخر دقيقتين · يتحدّث كل ٣٠ ثانية

—الإجمالي—أعضاء مسجّلون—زوار بدون تسجيل

جارٍ التحقق من المتواجدين…