function s = add3(varargin)

if ~isnumeric([varargin{:}])
   error('Inputs must be floating point numbers.')
end
s = sum([varargin{:}]);
