You are viewing a single comment's thread. Return to all comments →
declare @R int =20 while (@R>0) begin print replicate('*',@R) set @R= @R -1 end;
the result looks fine but system says wrong answer. any suggestions why?
Seems like cookies are disabled on this browser, please enable them to open this website
Draw The Triangle 1
You are viewing a single comment's thread. Return to all comments →
declare @R int =20 while (@R>0) begin print replicate('*',@R) set @R= @R -1 end;
the result looks fine but system says wrong answer. any suggestions why?