C Program To Check If Point Lies on x-axis or y-axis or Origin
Satish B
http://technotip.com/7168/c-program-to-check-if-point-lies-on-x-axis-or-y-axis-or-origin/
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(0, 0).
Logic To Check If Point(x, y) Lies on x-axis or y-axis or Origin In point (x, y), if x = 0 and y = 0, then the point lies on the origin. If value of x is zero and y is greater than zero, then the point lies on y-axis. If y is zero and x is greater than zero, then the point lies on x-axis.
C Programming Interview / Viva Q&A List http://technotip.com/6378/c-programming-interview-viva-qa-list/
C Programming: Beginner To Advance To Expert http://technotip.com/6086/c-programming-beginner-to-advance-to-expert/ ... https://www.youtube.com/watch?v=7R_TUjCTYFA
8523547 Bytes