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

ممكن احد يشرحلي المطلوب

بدأه ريمونتي في 21 مايو 2011 · 1 رد · 386 مشاهدة · في الأسئلة المجابة
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

Write a C++ program to read, save, sort, search and display the students’ ids, student names and marks of N students.

N=7 should be declared as a constant in your program. You must use arrays to store the students’ IDs, names and marks.

Note: an enhanced version of this program can be achieved after studying functions and structs.

Your program should display and execute a menu with the following options.

A switch statement must be used to execute the following menu options.

Menu

---------

1. Clear

2. Register a Student (Id, Name, Mark)

3. Display the student with a highest mark

4. Display the marks of all students

5. Display the percentage of the total mark received by each student

6. Sort all marks in ascending order

7. Sort all marks in descending order

8. Search for a student with a given id

9. Search for a student with a given name

10. Search for a student with a given mark

11. Exit

اذا ممكن احد يفهمني المطلوب من البرنامج وايش ممكن استخدم فية ويكون برنامجي تمام

ومرررررررررررررررررررررررره شكرررررررررررررررررررررااا مقدمااااا :blush: :wub: :wub:

#2

المطلوب انك تعمل كلاس للطلاب وتعمل عليه كل هذه العمليات ، يعني حط القائمة في الدالة main وعلى حسب الاختيار تروح تستدعي واحدة من دوال الكلاس

No intellectual battle was ever won through retreat
You do not watch Gintama? Dude, you are missing a lot!


صورةmsrgb1485.gif ocajavase7programmerclr.gif

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

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

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

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

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