Target sum pairs

my code is not giving any output here

hello @nishiumrao
please save ur code here->https://ide.codingblocks.com/
and share link with me

i have shared the code

you have doubt in max sum subarray right?

image

this is correct, try submitting it.

i have not doubt on this

this is not producing any output

The above link shared by u do not contain any code

take two loops and check sum for each pair

what is wrong with my code

Print the pairs in increasing order