MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Opportunities for recent engineering grads.
Write a function that returns a function that counts the number of times it is invoked. Example:
>> h = counter;
Note: your solution cannot use persistent variables.
6 players like this problem