Q&A for those who study, teach, research and apply economics and econometrics
DECLARE @ INT=1 ,@c INT=1,@e INT=1,@d INT,@f BIT=0SET @d=@*8-3r:PRINT space(@*3-@e/2+@f)+replicate('*',@e-@f*2) SELECT --@f=5/(@*@d), @f=(@f/@*@e), --@f=@*@d*~@f, @c=nullif(@c,@*6-3)+2,@d-=2-@f*2,@e=iif(@c>@d or @c/2<@,@c,@d) IF @d>0goto r