Target Sum Pair Challenge

I guess I’ve written the code correctly but still there is some error in the code as it fails to compile.https://ide.codingblocks.com/s/139185

Hello @prashantverma.vn,

  1. Each output should be in a different line.

  2. You have to print the element instead of their index.

  3. Modify the l and r.

I have modified your code:

Hope, this would help.
Give a like, if you are satisfied.

1 Like

A silly mistake…my bad
Thanks for help…

@prashantverma.vn Anytime:blush:

Please, mark this as resolved.

1 Like