Question: 5. Drawing a Rectangle Using INT 10h Using the pixel-drawing capabilities of INT 10h, create a procedure named DrawRectangle that takes input parameters specifying the

5. Drawing a Rectangle Using INT 10h Using the pixel-drawing capabilities of INT 10h, create a procedure named DrawRectangle that takes input parameters specifying the location of the upper left corner and the lower right corner, and the color. Write a short test program that draws several rectangles of different sizes and colors.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock