function c=choice
% function c=choice  use by driver program to print menu and ask for input
% This program is used by the driver program to determine
%   what the user next wants to do with the matrix.
%
% by Ozgur Bayazitoglu
disp('-----------------------------------------')
disp('    Choice                       |Reply |')
disp('-----------------------------------------')
disp('Add multiple of row to another   |   a  |')
disp('Interchange rows                 |   r  |')
disp('Divide row by a constant         |   d  |')
disp('Stop                             |   s  |')
disp('-----------------------------------------')
c=input('Enter the letter for your choice  ','s');
 
