% LOOPS
% conditional update: process grades, find max

% g <- grade
% m <- max

m = -1;

g = input('enter number: ');

while g ~= -1
	if g > m
		m = g;
	end

	g = input('enter number: ');
end

if m == -1
	fprintf('no values\n');
else
	fprintf('%d\n', m);
end
