الموضوع: شعبة cd??
عرض مشاركة واحدة
منتديات طلاب وطالبات جامعة الملك عبد العزيز منتديات طلاب وطالبات جامعة الملك عبد العزيز
قديم 08-12-2009, 07:34 AM   #6

men

جامعي

 
تاريخ التسجيل: Oct 2009
التخصص: نظم معلومات
نوع الدراسة: إنتظام
المستوى: الثامن
الجنس: أنثى
المشاركات: 192
افتراضي رد: شعبة cd??

يابنااااااااااات الله يسعدكم يااارب ابغى الرد دحين وبسرعه لانو محاضرتي اليوم واليومك تبغانا نسلم الواجب اللي عرف حل دا السؤاال يقولي كيف اتحلWrite a program that accepts time in Grenache then display the corresponding time in the chosen city

Note:
• The time entered is a number between (1-24).
• Bounce:If the user enter number not between(1-24),Appear message error and try again.
• The corresponding time should be showed in a.m. Or p.m.

فرق التوقيت code City
+3 J Jeddah
+3 M Makkah
+2 C Cairo

Output screen:
City Code

Jeddah J
Makkah M
Cairo C

Enter your choice : j
Enter the time in Grenache: 4
The time in Jeddah is 7 a.m.


Output screen:
City Code

Jeddah J
Makkah M
Cairo C

Enter your choice : m
Enter the time in Grenache: 12
The time in Makkah is 15 p.m.

 

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