Write a program that will prompt a user to input coordinates for all the corners and AutoCAD will draw a quadrilateral automatically with your program. The program should draw the quadrilateral on AutoCAD screen and print out all the coordinates with x and y coordinates only. Use GETPOINT, CAR, and CADR for writing the following program. Make sure this program will work with any coordinates that a user may input. None of the numerical coordinates should be in the programming code; in another words, do not HARD CODE the coordinates.
a. Use (1,1) (5,1) (5,7) (0,5) for the quadrilateral’s coordinates for the first run of the program
b. Use (10,10) (15,10) (15,15) and (10,15) for the quadrilateral’s coordinates for running the program second time
Get Answers For Free
Most questions answered within 1 hours.