والله انا اسفه على هذا الموضوع اللي راح اكتبه لاني قريت شو شروط التسجيل في المنتدى بس والله لولا حاجتي ما لجئت لكم والله ........
الله يخليكم لين اهلكم ان شاء الله بليييييييز ساعدوني اكتب هذا البرنامج والله انه عندي امتحان ومااروم اسوي اي شي غير اني اذاكر ومطلوب اني اسلم هذا البروجرام يوم الجمعه فبليييز المساعده والله بتسوون فيني خير والله....
هذا هو البرنامج والله اني ما عرفت اسويه بس هو اكيد سهل بالنسبه لكم لانكم مبرمجين كبار ..بس انا للحينه بروجرام1 ....يعني بداية الدرب والله بلييييييييز ساعدوني بليييييييييز
وهذا هو البرنامج..
______________________________________...
this is my email (bentelnor@hotmail.com)
this is the program ...
--------------------------------
________________________________________
Programming I (ITBP120)
Fall 2002
Extra Credit HW#1
There are 5 students in section 01. They have 4 courses which are
Programming-I, Business, Probability and Hardware1.
You required to design an application/program with the following functionality:
1. Get user input for 5 students (Name, ID, scores for the above
mentioned courses, (see below for the data in the in put file)From an
input file that you create and store data in prior to this program.
2. In an output file, that the program will create, for each student you
. need to display the following:
student name ID average score
----------------- --------- -----------
Khaled 123 75
Ali 345 80
. The program must prompt the user to input the name of an input file and the
name of an output file
. In the output file write the overall average of the class, the maximum and
minimum average.
. The list must be sorted in an increasing order according to the average score of
the students.
. If the average of two or more students is the same then sort them by their IDs
in a decreasing order.
. The program must make sure that there is no division by zero and that the
average computed is greater than zero and less than or equal to 100 for any
student.
. The program must check for negative values and must replace any negative
value by its absolute value.
. The input file will contain the following data (when you read the data make
sure that you ignore the first two lines) .
. The program must check for end of file condition.
data In the Input file:
Student name ID Business Programming Probability Hardware 1
--------------------- ----- ----------- ---------------- ------------- ------------
Ali 345 80 80 90 70
Sameera 001 90 80 90 80
Huda 090 0 0 0 0
Mona 080 90 80 87 98
Ahmed 980 80 98 -87