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

[مخالف]If samtho aprogram culcated area cubic through class

مغلق
بدأه Ceren في 5 مايو 2007 · 2 رد · 678 مشاهدة · في لغة C و ++C
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

ارجو المساعده

writ asimple class called cube .the object should calculate the total area and the voloume based on the side measurement

the privat member include on variable:

-side:.

the public members ar function members whose are:

void setside (double s);//if the program supplies aside egual or lower than0 function reset the side to1.

double getside ();//returns side

double area();//returns the area of the cube

double volume();//return the volume of the cube

void properties();//prints the results

-creat an empty constructor and distructor

-lmplement the object in different files

[Hint:the area of the cube=6*side*side and it is volume=side*side*side]

#3

تأسف إدارة الفريق العربي لغلق الموضوع وذلك لمخالفته قوانين المشاركات، فقرة طلب حل الواجبات والتمارين وأعمال السنة.

قواعد طرح المشاركات

/index.php?showtopic=29343

banner_60_468.gif

NOTHING IS IMPOSSIBLE

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

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