عرض مشاركة واحدة
منتديات طلاب وطالبات جامعة الملك عبد العزيز منتديات طلاب وطالبات جامعة الملك عبد العزيز
قديم 10-03-2015, 10:20 PM   #526

nmo0ory

جامعي

 
تاريخ التسجيل: Feb 2015
كلية: كلية الحاسبات وتقنية المعلومات
نوع الدراسة: إنتظام
البلد: مكة المكرمة
الجنس: ذكر
المشاركات: 2
افتراضي رد: Cpcs 202 شروحات وحلول وواجبات الجافا

السلام عليكم
عندي واجب برمجة

لكن عندي كم استفسار فيه ما فهمته
ياريت الي عنده فكرة كيف يسوي البرنامج بساله بكم شغله في البرنامج

البرنامج المطلوب

========
Suppose a University (like KAU University) has contract with the airlines agent for issuing tickets for their employees local and abroad. The allowed airlines are Saudi airlines, FlyNas airlines and another one chooses by the employee. The maximum number of tickets allowed is FOUR for each employee. The cost for each extra weight is 10 SAR per K.G. for local and 30 SAR per K.G. for abroad.

Write a Java program that allows the user to enter the airline name, destination (local or abroad), ticket type (guest, business and first class), passport number, name, number of adults, number of children, number of infants and other required information (See sample run) and then displays the information like the one shown in the following sample output.
======

 

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