%------------------------------------------------------------------------------ % Prompt user to enter two values. Report the max and min: % Clean things up: clear;clc; % Obtain two values to check: disp('You will enter 2 values.'); disp('I will let you know which is min and max!'); value1 = input('Enter a number: '); value2 = input('Enter another number: '); % Assume a min and max, though they might change later: % Check if you made the right choices and swap if necessary. % Is min > max? If so swap the values: % Report the results disp('Reporting results!'); if else disp('Something went horribly wrong!'); end %------------------------------------------------------------------------------