Arrays-Target Sum Pairs


i have entered 5-6 different and getting the correct output but when i submit it it gives 2 test case as wrong, i think one is where no pair of input value is equal to target, what to do in that case

@Learning_bunny
As mentioned in the output format of the problem , you are required to print the pairs in increasing order. Your code does not print the pairs like that. Try it for the given sample testcase only.

sir the first test case is still wrong

@Learning_bunny
Start your inner loop from j=i+1 rather than j=i.