1. The document describes an input screen that collects passenger information including name, gender, address, date and time of flight, and luggage weight. It also describes an output screen that displays the booked flight details, passenger info, origin and destination, and total fare calculated from rate and luggage charge.
2. The input requires name as a 2-20 character string, gender as 1 or 2, address as a 4-50 character string, date in mm/dd/yyyy format, time as 1 (am) or 2 (pm), and luggage weight in kg.
3. The output displays the passenger name and details, origin as "Roxas City, Philippines", destination as "Manila, Philippines",
Download as PPTX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
115 views
Hard Activity On Java
1. The document describes an input screen that collects passenger information including name, gender, address, date and time of flight, and luggage weight. It also describes an output screen that displays the booked flight details, passenger info, origin and destination, and total fare calculated from rate and luggage charge.
2. The input requires name as a 2-20 character string, gender as 1 or 2, address as a 4-50 character string, date in mm/dd/yyyy format, time as 1 (am) or 2 (pm), and luggage weight in kg.
3. The output displays the passenger name and details, origin as "Roxas City, Philippines", destination as "Manila, Philippines",
c. Requirements a. Input Screen 1. Name – assume a string from 2 to 25 chars
Purchaser Name : 2. Item Code Item Type Unit price
Item Code (15-65) : below 36 Hakata Printer 6560.50 Quantity Purchased (2-50) : 36 to 50 Atami System Unit 9365.50 Payment Code (1/2) : 51 to 58 Hakata Monitor 5500.43 59 & above Hakone Keyboard 3679.99
3. Quantity Purchased – assume an integer from 2 to 50.
b. Output Screen 4. Payment Code Payment Type Pot Charge
1 Cash 0 2 Check 10 Purchaser Name : Item Type : 5. Gross Bill = Quantity Purchased * Unit Price Payment Type : Net Bill : 6. Added Charge = Gross Bill * Pot Charge/100
7. Net Bill = Gross Bill + Added CHarge
c. Requirements a. Input Screen 1. Employee Name – assume a string from 2 to 25 chars
Employee Name : 5. Monthly Income is from 1000.00 to 120000.00
Department : Month of Release : 6. Bonus Amount = Monthly Income * Pot Bonus/100 Bonus Amount : 7. Use DO-While loops c. Requirements a. Input Screen 1. Tourist Name – assume a string from 2 to 20 chars
Tourist Name : 2. Hotel Code Hotel Name
Hotel Code (1-3) : 1 InSugar Hotel Guide Code (1-4) : 2 Butong Hotel Tour Days (3-9) : 3 Panay Inn
3. Guide Code Guide Name Rate/Day 1 Jane
Bond 1106.00 2 Sylvie Rambo 930.90 b. Output Screen 3 Diega Silang 920.30 4 Sabel Lopez 1107.00 Tourist Name : Hotel : 4. Tour Days – assume an integer from 3 to 9. Guide Name : Tour Days : 5. Total Fee = Rate * Tour Days Rate Per Day : Total Fee : c. Requirements a. Input Screen 1. Name of Passenger – assume a string from 2 to 20 chars Passenger Personal Info Name of Passenger : 2. Gender Distinction Name Prefix Gender 1 / 2 (1-male 2-female) : 1 male Mr. Address : 2 female Ms. Date of Flight (mm/dd/yyyy : 3. Address – assume a string from 4 to 50 chars Time of Flight 1 / 2 (1-am 2-pm) : 4.Date of Flight – assume a string in format of mm/dd/yyyy Passenger’s Load (7kg, 10kg, 15kg, 20kg): 5. Time of Flight Description Rate 1 am 2800.50 2 pm 1900.00 b. Output Screen 6. Passenger’s Load Charge 7 500.30 Flight Booked 10 760.00 Passenger : 15 950.60 Gender : 20 1165.00 Address : 7. Origin - “Roxas City, Philippines” Origin : 8. Destination – “Manila, Philippines” Destination : 9. Total fare = rate+charge Total Fare :