% asteriskTree(number) -> displays tree of asterisks
% author: CISC106 11AM
%
% Description:
%   Displays a triangular tree of asterisks, for the given number
%
% Examples:
%   asteriskTree(3) ->
%   ***
%   **
%   *
%   asteriskTree(1) ->
%   *
function []=asteriskTree(num)
if (num <= 0)
    
else
    lineOfStars(num);
    asteriskTree(num - 1);
end
