O GoConqr está de visual novo! Conte para nós o que você achou.

Módulo 11 de 18 · Mídia

Hire or Not

Kostas Diakogiannis

Hire or Not

A-5 Hire or Not

Imagine that you work currently as an HR manager in a company that wants to hire developers. The prerequisites for hiring someone is to know 3 of the 5 following programming languages. PHP, JavaScript, Ruby, Python and or Java.

If the candidate has at least 3 of these 5 skills then he should be hire. 

Create an array that holds the prerequisites. And a different array that holds every candidate's skills. Write a function so it can be re-usable for multiple pre-requisites and multiple candidates at the same time.

Create an empty array to store the full name of the ones that got hired.

If the guy is hired, push his name to the employed ones array. At the end this array is going to contain the names for every person that got hired.

Hint: You may want to use the "includes" array method, which allows you to check if a specific value is included into an array or not and returns a boolean value. Check it here!

Instruções

Para avançar no curso, envie uma tentativa deste quiz. Você pode enviá-la depois da última pergunta.

Ir para o módulo escolhido

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?