Question: In C++ please and thank you! 4. Write a program that prompts the user to enter the corner coordinates and sides of two squares and
4. Write a program that prompts the user to enter the corner coordinates and sides of two squares and determines whether the second square is totally outside, overlaps with the first or is totally inside the first. Email your code and turn in an output for the following square tests: (x.yi) x4y) Cx s) (x3-ys (a b) (a, by) (a, b) (a,. by) (a by) (a-b) (a b) (a, ba) (xi, yi) apy) Turn in a print out of the source code and screen shot of the output. Also, email me the source code file. Use the following template for your programs
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
