Write a function which will return true if and only if a passport holder satisfies following conditions:
1. A passport holder should not be a criminal.
2. A passport holder must have only one nationality and it should be "Indian".
3. A passport holder must be living at current address for more than 12 months.
4. A valid passport holder must hold at least two degrees from the list: "High School". "Intermediate", "Graduate", "Professional"
boolean isValidPassportHolder(boolean isCriminal, String[] nationalities, float livingMonths, String[] qualifications);
use this
Comments
Leave a comment