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

شباب محتاجه مساعده في كتابه برنامج

مغلق
بدأه طالبه كمبيوتر جديده(متوهجه) في 20 نوفمبر 2004 · 2 رد · 516 مشاهدة · في الأسئلة المجابة
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

شباب ممكن المساعده في حل هالمسألتين من قلب متوهجه الدكتور طالبها واجب وانا عندي امتحان مو قادره احلها

Modify the time class of Fig.6.18 to include a tick member function that increments the time stored in a time object by one second. The time object should always remain in a consistent state. Write a program that tests the tick member function in a loop that prints the time in standard format during each iteration of the loop to illustrate that the tick member function works correctly. Be sure to test the following cases:

a) .Incrementing into the next minut

B). Incrementing into the next hour.

c). Incrementing into the next day (i.e., 11:59:59PM to 12:00:00AM).

Modify the Date class of Fig.6.24 to perform error checking on the initializer values for data members month, day and year. Also, provide a member function next Day to increment the day by one .The Date object should always remain in a consistent state. Write a program that tests function nextDay in a loop that print the date during each iteration to illustrate that nextDay works correctly .Be sure to test the following cases:

a). Incrementing into the next month.

B). Incrementing into the next year.

مشكورين وجزاكم الله خير على المساعده

طالبه كمبيوتر جديده(متوهجه)

تم تعديل هذه المشاركة بواسطة طالبه كمبيوتر جديده(متوهجه) في 20 نوفمبر 2004 في 14:55

#2

أهلاً بكي في هالمنتدى الرائع ...

حسب ما أعلم أنه من قوانين المنتدى .. عدم اعطاء الحلول الجاهزه ..

ممكن نشوف أولاً محاولتك ...

ثم نأخذ بيدك .. و نساعدك

#3

شكرا على المرور

واذا ممكن فقط مساعده في بدايه البرنامج. لان الدكتور طالب الحل يوم الاربعاء وانا احاول احط تجربتي في اقرب وقت

وشكرا

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

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

عدد الزوار حالياً

المتواجدون خلال آخر دقيقتين · يتحدّث كل ٣٠ ثانية

—الإجمالي—أعضاء مسجّلون—زوار بدون تسجيل

جارٍ التحقق من المتواجدين…