%example of cycle while
clear;
N=input('Type an integer number N\n'); %\n is needed to display N in
% a new line
M=input('Type how many times you want to add 5 to N\n');
a=1; %we use a to keep track of how many times we have added 5
while a<=M
    N=N+5; %we add 5 to N and we keep using the same letter for the
    %new number we get
    a=a+1; %we add 1 to a each time we add 5
end
N