Question: write in java code and upload code in picture format Problem 3: Papers Please (10 points) You're a ticket agent for a commercial airline and
Problem 3: Papers Please (10 points) You're a ticket agent for a commercial airline and responsible for checking the identification for each passenger before issuing their boarding pass. Due to federal regulations, there is a total of three different forms of ID that can potentially be used. You must determine whether the passenger has the sufficient identification to board the plane or not. Facts: A passport is enough for a boarding pass Without a passport, passengers must have two other forms of ID: O driver's license O birth certificate If the above two conditions are not met, then they are denied. Input Your solution must take in three boolean inputs. The first input represents whether they have a passport or not. The second input represents whether they have a driver's license or not. The third input represents whether they have a birth certificate or not Output The output should display as a boolean result whether they can board the plane or not. Sample Input Sample output true false false false true true false false false true true false ne de los an Tortas sold or a gruolo
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
