clear; clc;

x = 0;
for i = 1 : 5
    x = addOne(x);
    disp(x); % output ?
end