عرض مشاركة واحدة
منتديات طلاب وطالبات جامعة الملك عبد العزيز منتديات طلاب وطالبات جامعة الملك عبد العزيز
قديم 01-04-2010, 11:30 PM   #26

BeeroOo

جامعي

الصورة الرمزية BeeroOo

 
تاريخ التسجيل: Dec 2009
التخصص: تقنية معلومات
نوع الدراسة: إنتظام
المستوى: الخامس
الجنس: أنثى
المشاركات: 77
افتراضي رد: [cpcs 203 - برمجة 2] لديك سؤال , أفكار , شيء غير مفهوم ,,, تفضل هنا , موضوع مفيد

السلام على الكرام اتمنى انو الجميع باتم الصحه والعافيه
انا صراحه اول مررره احس اني ف الجافاا حوووووووووووسه
مو مني من نظام الجامعه الغبي ناخذ اللاب قبل المحاضره كيف مدري؟؟
ولا وتدي واجبات ماندري ايش السالفه
انا عندي واجب ماابغى حله قد ماابغى احد يتكرم ويفهمنا هوا وله منا نحن قسم الايتي بنات جزيل الامتنان
A. Define a student class that has the following members:
Variables:
Name , score on test 1, score on test 2.
Define following Methods:
Constructor with no parameters, that gives initial value for each variable (name = “ “ , test =0 , test = 0).
inputname : read student’s name .
inputGrades: read student's grades for test1 and test2.
getAverage: compute and return the student's test average
getName: returns the student's name
toString: returns a String representing the Student object Info.
displayInfo : to print student's information(name and grades
B. At the main methods do the following:

Define two student’s object and read their information using the methods (Inputname InputGrades).
Print on screen the average of the 2 tests for the first student only.
Print the students’ information according to the output for both students.
(use any method from Student class you need)

تستطيع أن ترى الصورة بحجمها الطبيعي بعد الضغط عليها

بالله لحد يحسدنا ع طول واجباتنا اللهم لاحسد

 

توقيع BeeroOo  

 

 

BeeroOo غير متواجد حالياً   رد مع اقتباس