Re:On Secretly Terrible Engineers
by RogerL on Monday March 09, 2015 @11:44AM
(#9171527)
fizzbuzz can be modified to remove knowledge of the modulus operator. "write a function that loops through an array and prints 'fizz' if it equals the parameter 'a', 'buzz' if it is -a, otherwise print the value of the element". Or something like that. This tests writing a function declaration, passing values in as parameters, iterating over an array, writing an if statement, and printing. That seems pretty basic and fair to me.
[ Parent
| on HN ]
There are no comments on this comment yet.