Hey so i am trying to print this triangle
, but I only got this far
What do I need to change in my code in order to flip it?
n=input('Enter rows for left triangle');for i=2:n+1for j=1:i-1 fprintf('*');fprintf('');endfprintf('\n');end
Best Answer