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

[مخالف - طلب حل : ]مساعدة

مغلق
بدأه تالا القرني في 1 مايو 2011 · 2 رد · 380 مشاهدة · في JavaSE
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

Write a java application to manage Clinic Appointments. Each Clinic Appointments item is a String.

Use vector to hold the items, Test your work with a main program that does the following:

1. Create an empty vector. Print it.

2. Append the items, "9 AM: Ahmad Ali", "10 AM: Mohamed Hamzah", "1 PM: Abdullah Ahmad" , "2 PM: Sara Mahmood" and "4 PM: Hamsah Saleh" to the list. Print it.

3. Remove the last element from the vector. Print it.

4. Append the item, "5 PM: Ali Fahad" to the vector. Print it.

5. Write a loop that searches for the item, "10 AM: Mohamed Hamzah " and replace it with "10: AM Sukar Khaled" Print the vector.

6. Write a loop that searches for the item, "2 PM: Sara Mahmood " and then remove it from the vector. Print the vector.

تم تعديل هذه المشاركة بواسطة تالا القرني في 1 مايو 2011 في 23:39

#2

عزيزتي أين محاولاتك ؟

#3

الأخ الكريم/الأخت الكريمة

السلام عليكم ورحمة الله وبركاته.

مرحباً بكم في منتدى الفريق العربي للبرمجة

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

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

/index.php?showtopic=29343

شاكرين لكم حُسن تعاونكم

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

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