קטע קוד קצר ב JAVA

unexpected

New member
קטע קוד קצר ב JAVA

שלום חברים , אני זקוק לקטע קוד קצר ב JAVA על הקטע להיות עקרוני בלבד. אני צריך לתאר מערכת למכירת כרטיסי רכבת. ניתן להניח הנחות הגיוניות. אודה לכם מאד על עזרתכם. הנה תאור המערכת: An automated ticket issuing system sells rail tickets. The user select their destination by pressing on menu appears on the system touch screen. First the user selects how many tickets he desire to purchase. Then the system displays the cost. In any stage the user can press the back button and go back. The system checks the validity of the destination. The system should show the available seats and the passenger will chose (if there are any) the seat (near the window, door etc...)Once the destination is ok and the user know the cost and select the number of the tickets, the system displays message and the user request to input his credit card. The validity is being check, if the validity fails, for the reason that problem has been detected on the credit card or wrong personal identifier the system should display message and a telephone number to human service centre for help. When the credit card transaction has been validated, the system shall display a message of confirmation and the seat selected for the passenger the tickets are issued. The system shall print a receipt.
 
למעלה