رد: 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.
======
|