Maximum points of intersection n circles | Java program to find maximum umber of intersections of n circles ; for the calculation of 2 * ( nC2 ) ; Driver code
import java . io . * ; public class GFG { static int intersection ( int n ) { return n * ( n - 1 ) ; } public static void main ( String [ ] args ) throws IOException { System . out . println ( intersection ( 3 ) ) ; } }