After being tipped by a colleague, I started to look into the apparent lack of skills applicants for programming jobs.
With me (and many at E&I) being trained to write code, and think in code, I asked around and found out that a lot of applicants (even self-proclaimed senior programmers and Bachelors from a university) do not have the basic coding skills needed to do such a job within 5 minutes.
In this light, a small programming task like the following seems to be the hurdle which separates the coders from the non-coders.
Write a program that prints the numbers from 1 to 100. But for multiples of three print "Foo" instead of the number and for the multiples of five print "Bar". For numbers which are multiples of both three and five print "FooBar".
What would be your solution?
Note: I’ll be posting mine later 😉
for(int i=1; i