Challenge: Check Job Eligibility

Use your knowledge of conditional statements, pseudocode, and flowcharts to determine the job a person is eligible for.

Problem statement

Assume that you know the age and years of experience of a candidate, and you want to find the most senior position they can apply for. You have the following information:

  • The available jobs are that of a project coordinator, project manager, and senior project manager.

  • A candidate cannot be less than eighteen years old.

  • No prior experience is required for a project coordinator. However, a project manager should have at least three years of experience, and a senior manager should have at least five years of experience.

Input

The input is age and years of experience.

Output

The output is the title of the senior-most job that the candidate is eligible for.

Get hands-on with 1200+ tech skills courses.