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

هوم وورك

مغلق
بدأه الأحلام في 19 ديسمبر 2003 · 0 رد · 393 مشاهدة · في ارشيف قسم C/C++
مشاركة: واتساب X فيسبوك تيليجرام
#1

لو سمحتوا عندي هوم وورك وابغي مساعدتكم في الحل

السؤال الاول يقول

The file "directory.dat" contains name and telephone number of your friends. Write a C++ program to read the telephone directory and store it in suitable arrays and then perform the following menu options:

1. Display the telephone directory

2. Find a specific name

3. Find a specific phone number

4. Edit a specific name

5. Edit a specific phone number

6. Sort

7. Exit

والثاني

The following table is stored in a file called “scores.dat”, which represents results of 5 exams for a class of 6 students:

AAA 90 85 91 95 92

BBB 84 80 81 82 75

CCC 91 92 70 75 95

DDD 70 80 75 85 60

EEE 80 79 78 76 82

FFF 75 65 85 60 76

Write a C++ program to read the contents of the above file in suitable arrays and display the following:

1.The maximum score of each student and at which exam number he/she got it.

2.The minimum score of each student and at which exam number he/she got it.

3.The average score of each student

4.The maximum score of each exam and who got it.

5.The minimum score of each exam and who got it.

6.The average score for each exam

7.The overall average score of the class

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

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