Draw the flowchart and write the pseudocode for a program to be used by an airline that offers a 25 percent discount to passengers who are 6 years old or younger and the same discount to passengers who are 65 years old or older. The program should request a passenger’s name and age and then print whether the passenger is eligible or not for a discount. Input: - Passenger’s name and age. Process: - If the passenger’s age is 6 years old or younger, they qualify for a 25% discount. - If the passenger’s age is 65 years old or older, they also qualify for a 25% discount. Output: - Either qualifies or not for a discount. Notes: - Do not use any programming language syntax unless when there is an exception. - Use mainline logic configuration modules: houseKeeping(), detailLoop(), and endOfJob(). - Use the space provided below for your flowchart and pseudocode. - Do not forget to complete the essay at the end of the questionnaire.
Draw the flowchart and write the pseudocode for a program to be used by an airline that offers a 25 percent discount to passengers who are 6 years old or younger and the same discount to passengers who are 65 years old or older. The program should request a passenger’s name and age and then print whether the passenger is eligible or not for a discount.
Input:
- Passenger’s name and age.
Process:
- If the passenger’s age is 6 years old or younger, they qualify for a 25% discount.
- If the passenger’s age is 65 years old or older, they also qualify for a 25% discount.
Output:
- Either qualifies or not for a discount.
Notes:
- Do not use any
- Use mainline logic configuration modules: houseKeeping(), detailLoop(), and endOfJob().
- Use the space provided below for your flowchart and pseudocode.
- Do not forget to complete the essay at the end of the questionnaire.


Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images









