Semi-OT: Why Kids Can't use Computers
Walter Dnes
waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org
Thu Aug 15 19:32:14 UTC 2013
On Wed, Aug 14, 2013 at 10:47:03PM -0400, D. Hugh Redelmeier wrote
> | From: Marc Lijour <marc-bbkyySd1vPWsTnJN9+BGXg at public.gmane.org>
>
> | Check this Google Engineer experience of Computer Science in Vietnam:
> | https://neil.fraser.name/news/2013/03/16/
>
> That got me reading <https://neil.fraser.name/news/2013/06/19/>
>
> I find it impossible to believe "that only 0.5% of people who submit
> their resumes for a programming job can pass FizzBuzz."
???? Ridiculous!
#!/bin/bash
for counter in {1..100}
do
if [ $(( ${counter} % 15 )) -eq 0 ]; then echo "Fizz-Buzz"
elif [ $(( ${counter} % 3 )) -eq 0 ]; then echo "Fizz"
elif [ $(( ${counter} % 5 )) -eq 0 ]; then echo "Buzz"
else echo ${counter}
fi
done
--
Walter Dnes <waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org>
I don't run "desktop environments"; I run useful applications
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list