Question: LANGUAGE REQUIRED FOR CODE: Windows x86 Assembly Language More details in following images: A triangle with all sides equal is called an equilateral triangle. We
LANGUAGE REQUIRED FOR CODE: Windows x86 Assembly Language
More details in following images:


A triangle with all sides equal is called an equilateral triangle. We are going to learn how to print stars '*', in an equilateral Triangle shape. One possible Algorithm could be ... 1. Select the number of Stars to be printed at the base of the Triangle (also determines height in lines), Num 2. Select the center position of the top Star, in Spaces from the left margin, Tab 3. Set up an iteration (Loop) for Num times. 4. Load/Print a " "(Space) in decreasing order from Tab - 1 to Tab - Num. 5. Load/Print a "* " (Star, Space) in increasing order from 1 to Num. Equilateral Triangle Num =7 'number of Stars at the base height in lines Tab =20 'top center position Spaces from the left margin FOR I =1 TO Num FOR J =1 TO Tab - I PRINT " " NEXT J FOR J =1 TO I PRINT "* " NEXT J The output might look similar to this
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
