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

[مخالف - طلب حل : ]طالبه Java مبتدئه تطلب المساعده

مغلق
بدأه طالبه معاصره في 26 ديسمبر 2007 · 1 رد · 559 مشاهدة · في JavaSE
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

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

بدون مقدمات لاني ما أعرفلها اصلا

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

والمس الله يهديها أعطتنا الواجب قبل الاجازه وما فهمنا ايش تبغى كويس

وأبغى أتركم مع السؤال والله يخليكم أبغى شرح لجزئيه القراءه من الملف حسب ماهي طالبه في السؤال

وهي كانت طالبه في الواجب اللي قبله كلاس للطلاب وكلاس لعناوينهم

والله يخليكم ساعدوني خاصه جزئيه القراءه من ملف

A. Modify the last HW

  • Delete the address class and all it features.
  • Each students object should contain :

String firstName, lastName;

Long ID;

course [] S_course; // each student must take 4 courses maximum

  • Each course object should contain :

String name;

int course_num;

Student [] students;// each course must have 10 students maximum

  • Define 2 arrays in the main method that store all students' records in the department (size 30), and store the courses' records (size 10).
  • The student's record and course record must be add to the array from 2 files contain all the information of all the students and courses in that department.

Note : make sure it does exceed the size( even if the files contains more than 30 students and more than 10 courses).

  • print a menu as followed:
    • Add student to a course.

1. Enter student's Id and course's name (add the students object according to the Id to the particular course ( make sure the course is not full );

2. As the same time add the course object to the particular students, and make sure that the student doesn't exceed the limit of courses number.

    • Delete student from a course.

1. use the same criteria of the addition method.

2. make sure before deletion that the course is not empty and that student was enrolled in that course.

    • Print the courses of a particular student.
    • Print students list of a particular course.

Don't use ArrayList

تقبلوا تحياتي

:(

تم تعديل هذه المشاركة بواسطة طالبه معاصره في 27 ديسمبر 2007 في 00:35

#2

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

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

/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

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

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