عرض مشاركة واحدة
منتديات طلاب وطالبات جامعة الملك عبد العزيز منتديات طلاب وطالبات جامعة الملك عبد العزيز
  #1  
قديم 31-12-2012, 08:39 AM

البرنس 77 البرنس 77 غير متواجد حالياً

جامعي

 
تاريخ التسجيل: Dec 2012
نوع الدراسة: إنتظام
الجنس: ذكر
المشاركات: 1
افتراضي ممكن حل مع برنامج c++


سلام عليكم
كيف حالكم
عندي مشكله وهي حل برنامج c++ الحل ممكن طريقه طفشت وهذي مراجعه لختبار النهائي

Create two classes Student Class and Course Class. The Student Class has constructor , two data members, and one function. The data members are student_ID has data type long and and student_Name as string .the functions is print is used to print out the student_Name and the student_ID The Course Class has three data members. grades as 2-D array of type float to hold the grades of three tests (test1, test2, test3) for the three courses. course_name as 1-D array of type string to hold the names of three courses (course1 , course2, course3) , and inti as 1-D array of type string to hold (1st, 2nd,3rd ) elements. It also has two functions. input function is used to enter data from user that are the grades and the course_name, the second function is print. Now, you have all the functions and data member in the two classes. Your mission is two generate output looks exactly like this screenshot.
رد مع اقتباس