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

أحتاج إلى المساعدة

مغلق
بدأه إيمان في 21 فبراير 2003 · 2 رد · 734 مشاهدة · في الأسئلة المجابة
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

:owrite aprogram that have the following menu:

1-addstudent

2-sort the list

3- search student

4-display the list

5-exite

a- a function called add_student that takes the name and grade (A,B,,C,...)

OF THE STUDENT IN TWO ARRAYS

b- a function called sort_student that sorts the students names alphabetically

c- a function called search_students that willreturn if the student is available or not in the array list

d- a function called display_list to print the students names and grades in the array

e- the user should return to main menu after executing each option

notes:

the user can not execute sort , search or display if the array list is empty

extra:

in the function add_student, if the student list is not empty, you will add students at the end of the old list

أخواني واخواتي الخبراء في لغة ++c أرجو منكم مساعدتي في حل هذا البرنامج ولكم مني كل الشكر والإمتنان

أختكم إيمان

#2

الجواب بصورة عامة :

1- المدخل الأساسي للبرنامج .. شاشة ترحيب و خيارات ز

2- switch على قيمة يدخلها المستخدم كخيار .

3- كل case تكون على أحد الإختيارات add student , end , ...etc .

4- داخكل كيس يكون نداء لدالة تنفذ المطلوب .

----------------------

الباقي كله سهل و واضح الـindex تبع الطالب و الدرجة هم نفس القيمة !

ختاما :

أتوقع إن فيه تنبيه على عدم نشر مواضيع تطلب الكود المباشر !!!

تحياتي أختي .

بطران .

014.gif
#3

هنا موضوع قديم جدا في هذا المنتدى حول اللنك ليست, ابحثي عنه...

سيفيدك.

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

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