Find the Missing Point of Parallelogram | Java program to find missing point of a parallelogram ; main method ; coordinates of A ; coordinates of B ; coordinates of C
import java . io . * ; class GFG { public static void main ( String [ ] args ) { int ax = 5 , ay = 0 ; int bx = 1 , by = 1 ; int cx = 2 , cy = 5 ; System . out . println ( ax + ( cx - bx ) + " , ▁ " + ay + ( cy - by ) ) ; } }