الموضوع: مساعدة في project 3
عرض مشاركة واحدة
منتديات طلاب وطالبات جامعة الملك عبد العزيز منتديات طلاب وطالبات جامعة الملك عبد العزيز
  #1  
قديم 01-12-2012, 06:31 PM

يزيد الجمال يزيد الجمال غير متواجد حالياً

جامعي

 
تاريخ التسجيل: Aug 2012
التخصص: النوم
نوع الدراسة: إنتظام
المستوى: الثالث
الجنس: ذكر
المشاركات: 10
Talking مساعدة في project 3


السلام عليكم عندي سؤالين في البدوجيكت الثالث

انا حليت البروجيكت بس ما عرفت كيف اضيف كاونتر counter و كيف انهي البرنامج اذا المستخدم اختار عدم الاستمرار نقرتين لعرض الصورة في صفحة مستقلة

Extension 2: You need to keep a count of the number of times the user has entered a unit for conversion and print the count number after the user clicks NO. For example, if the user has used the program 3 times to find the solution of converting three units, then the program should print: "You have used the program 3 times".




Extension 4: The program will terminates only if the count number is greater than 4 and there is at least one conversion of each conversion type. Otherwise, it will continue to run (asking the user for input and repeating the whole program from extension 1). Note that the count number is initialized only once and should be updated each time the user has entered an input for conversion.






رد مع اقتباس