Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a program that prompts the user to input the x-ycoordinate of a point in a

ID: 3614328 • Letter: W

Question

Write a program that prompts the user to input the x-ycoordinate of a point in a cartesian plane. The program shouldthen output a message indicating whether the point is theorigin, is located onthe           x-(or y-) axis, or appears in a particular quadrant. Forexample: (0, 0) is the origin (4, 0) is on the x-axis (0, -3) is on bthe y-axis (-2, 3) is in the second quadrant. Write a program that prompts the user to input the x-ycoordinate of a point in a cartesian plane. The program shouldthen output a message indicating whether the point is theorigin, is located onthe           x-(or y-) axis, or appears in a particular quadrant. Forexample: (0, 0) is the origin (4, 0) is on the x-axis (0, -3) is on bthe y-axis (-2, 3) is in the second quadrant.

Explanation / Answer

please rate - thanks #include using namespace std; int main() {double x,y; char yorn='y'; int quadrant; while(yorn!='n'&&yorn!='N') {cout