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

 In C++ please and thank you! 4. Write a program that
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 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

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

Students Have Also Explored These Related Databases Questions!