function st=makeengr1234(ln,fn,att,gr)
% -----------------------------------------------------
% makeengr12334.m
% -----------------------------------------------------
% Create a structure - engr1234 with the following fields:
% lastname - last name of a student
% firstname - first name of a student
% attendance - a boolean variable (1 or 0) indicating 
%           if student is still coming to class or not
% grade - student's grade as a percentage 
% -----------------------------------------------------
% Syntax: st=makeengr1234(ln,fn,att,gr)
% Inputs: ln,fn,att,gr (as described above)
% Outputs: structure st (as described above)
% -----------------------------------------------------
% Notes: The structure/object name (st) can be specified
% in the main program. 
% -----------------------------------------------------
% Copyright and license details available at matlabmarina.com
%------------------------------------------------------

st.lastname=ln;
st.firstname=fn;
st.attendance=att;
st.grade=gr;

