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

men

جامعي

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

يا جمااعه وانا كمان عندي واجب اليوم تسليمو اللي عرف من البنات كيف اتحل هادا السؤال يجااوب عليا بليييييييييييييييييييز لانو اليوم تسليم الواجب خصوصا طالبات ا.منى الشهري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 غير متواجد حالياً   رد مع اقتباس