عرض مشاركة واحدة
منتديات طلاب وطالبات جامعة الملك عبد العزيز منتديات طلاب وطالبات جامعة الملك عبد العزيز
قديم 12-04-2013, 11:27 PM   #503

leeeedo

جامعي

 
تاريخ التسجيل: Feb 2011
نوع الدراسة: إنتظام
المستوى: الثاني
الجنس: ذكر
المشاركات: 6
افتراضي رد: Cpcs 202 شروحات وحلول وواجبات الجافا

هذا المطلوب في البروجكت الثالث وهو تكملة على البروجكت الثاني يعني نفس العمل بس اعمل عليه الخطوات الاتيه
Project 3 Deion:
In this project, you will modify the Cargo Charges program you have written in Project 2 (See attached). You need to implement the following extensions:
Extension 1: After each program run you need to ask the user if he wants to ship another cargo (using confirmation dialog of JOptionPane). If the user clicks YES, the program will continue and ask the user to input the new cargo details. This process continues until the user clicks NO.
Extension 2: The program must keep a count of the number of shipments the user want to ship and print the count number after the user clicks NO. For example, if the user has shipped the 4 cargoes , then the program should print: "You have used the program 4 times".
Extension 3: The program should calculate and print the shipping charges and discount for each region (Saudi Arabia, Gulf countries and other countries) after each cargo shipment . At the end the program will print the total charge for all cargoes.
Extension 4: The program will terminate only if one valid shipment is made. Otherwise, it will continue to run (asking the user for input and repeating the whole program from extension 1).

 

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