
% Lab 3 Solutions
% CS 1109, Summer 2011
% July 5

% This script prompts the user to enter a number. It prints the word
% 'Positive' if the number entered is positive. It terminates after
% printing a thank you message (regardless of user input)

number = input('Please enter a number: ');

if (number > 0) 
    fprintf('Positive\n');
end

fprintf('Thanks for playing\n');
