% Testing an if structure
c=input('Give one of the first five letters.  ','s');
if c=='a'
   disp('That was the first letter.')
elseif c=='b'
   disp('That was the second letter.')
elseif c=='c'
   disp('That was the third letter.')
elseif c=='d'
   disp('That was the fourth letter.')
elseif c=='e'
   disp('That was the fifth letter.')
else
   disp('************************')
   disp('*  That was an error.  *')
   disp('************************')
end
