MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / main

Method main

Java/Array/PairSum.java:76–83  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

74 }
75
76 public static void main(String[] args) {
77 int[] arr = takingInput();
78 Scanner sc = new Scanner(System.in);
79 int x = sc.nextInt();
80 int n = pairSum(arr, x);
81 System.out.println(n);
82
83 }
84}

Callers

nothing calls this directly

Calls 2

takingInputMethod · 0.95
pairSumMethod · 0.95

Tested by

no test coverage detected