// an example quite traditional of programming

function [y] = myF(a, b)
    y = a + b
endfunction


for i = 1:5
    disp("enter a value")
    a = input("a = ")
    disp(myF(a,2))
end
