نملة ضايعة
Member
- تاريخ التسجيل
- 5 نوفمبر 2008
- المشاركات
- 10
- المجموعة
- أنثى
- الكلية
- كلية تقنية المعلومات
سلااام ياجماعة شخباركم؟ هذا السؤال مال ++c اني حاولت احلة بس جم شي اتطورت فية مثل max اذا تقدرون تحلونة ومشكورين
ايي وبعد عندي سؤال يمكن غبي
بس مااعرف متى نكتب في بداية البرنامج <string>#include
السؤال هو :
write aprogram that reads student names(string) and markes(int( from a file "infile.txt" and store the names in a array of string named Names and the marks in an array of integers named markes .the maximum number of elements that stored in both arrayes is 100.the program should find and print the following:
the highest mark
the name of the student with highest mark
the average mark
all student with markes grater than the average mark
the program run should be :
infile.txt
fatema 95
mohd 86
amal 74
sami 65
output
the student fatema recieved the maximum mark 95
the average mark is : 80
the following student received scores above the average :
fatema 95
mohd 86
مشكوررررررين
ايي وبعد عندي سؤال يمكن غبي
بس مااعرف متى نكتب في بداية البرنامج <string>#includeالسؤال هو :
write aprogram that reads student names(string) and markes(int( from a file "infile.txt" and store the names in a array of string named Names and the marks in an array of integers named markes .the maximum number of elements that stored in both arrayes is 100.the program should find and print the following:
the highest mark
the name of the student with highest mark
the average mark
all student with markes grater than the average mark
the program run should be :
infile.txt
fatema 95
mohd 86
amal 74
sami 65
output
the student fatema recieved the maximum mark 95
the average mark is : 80
the following student received scores above the average :
fatema 95
mohd 86
مشكوررررررين