Andy Wojnarek on 13 Sep 2017 09:11:27 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Why Can't Programmers.. Program?


Here’s my solution, I think it’s right, unless I’m missing something:

 

https://pastebin.com/pZ64kmUD

 

(I am not a programmer).

 

--

Andrew Wojnarek |  Sr. Systems Engineer    | ATS Group, LLC

 

From: plug <plug-bounces@lists.phillylinux.org> on behalf of ronpguilmet <ronpguilmet@gmail.com>
Reply-To: Philadelphia Linux User's Group Discussion List <plug@lists.phillylinux.org>
Date: Wednesday, September 13, 2017 at 10:47 AM
To: Philadelphia Linux User's Group Discussion List <plug@lists.phillylinux.org>
Subject: [PLUG] Why Can't Programmers.. Program?

 

This is not New, but it is new to me. Apparently this is a programming interview question to weed out applicants. It's called FizzBuzz.

 

Write a program that prints the numbers from 1 to 100. But for multiples of three print "Fizz" instead of the number and for the multiples of five print "Buzz". For numbers which are multiples of both three and five print "FizzBuzz".

 

https://blog.codinghorror.com/why-cant-programmers-program/

 

 

 

 

Sent from my T-Mobile 4G LTE Device

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug