Problem 43257. Persistence will not help you solve this problem.

Created by Marc Jakobi in Community

Create a function without inputs that adds one to the output every time it is called. A different possibility of solving this has been eliminated from this problem.

a = counterfun;
>> 1
a = counterfun;
>> 2
% etc.

Solution Stats

71.43% Correct | 28.57% Incorrect
Last solution submitted on Feb 19, 2019

Problem Comments