clear;
x = input('dose timh (>0) ');
v = x:2*x;
sum = 0;
for k = v
	sum = sum + k;
	fprintf('after adding %d the sum becomes %d\n', k, sum);
end