Q12 Given a point (x, y), write a program to find out if it lies on the x-axis, y-axis or on the origin, viz. (0,0).
Program: 80
Given a point (x, y), write a c program to find out if it lies on the x-axis, y-axis or on the origin, viz. (0,0).
Output:
Enter the co-ordinates of point: 0 5 Point (0, 5) lies on y-axis