Question: Write programs with the following I/O ( All calculations must be done in assembly x86 ) Input/Output are to be coded in C++ 2. All
Write programs with the following I/O (All calculations must be done in assembly x86)
Input/Output are to be coded in C++
2. All sides are int type
/|\ -------------------------
/ | \ | |
a / | \ b | | width
/ h| \ | |
/ | \ | |
-------------- ------------------------
C length
Enter the values of a,b,c, and h for the triangle: 4 6 9 10
Enter the length and the width of the rectangle: 15 10
Triangle
Area45
Perimeter..19
Rectangle
Area.150
Perimeter .50
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
