clear;       % clear all variables.
clc;         % clear the command window
close all;   % close all plotting windows

% Make a list of the compounds that we will consider.  Note the use of {}
% rather than [].  This is called a "Cell Array" (see section 2.6 in your
% text book).  You can select the ith species by compounds{i}.
compounds = { 'Hydrogen', 'Calcium Carbonate', 'Steam', 'Copper', 'Propane'};

% we will learn about fprintf in a few weeks.
% It is much more powerful than "disp"
fprintf('     Available Compounds\n');
fprintf('----------------------------\n');
for( i=1:length(compounds) )
   fprintf('%1.0f \t %s\n',i,compounds{i});
end
fprintf('----------------------------\n\n');

id = input('Please select a compound from the above list: ');


% at this point, you have the number
% for the compound the user chose.
