Computer Science, asked by pallavighuge800, 11 months ago

Write c program for
Input : array of integer, required sum

Output: Elements from array Which makes sum equal to the given value

Test cases:
Input array :{10,0,-1,20,25,30}
Repeated sum:45
Output: {20,25}

Repeated sum : {59}
Output: {10, -1,20,30}

Repeated sum : {60}
Output:{10,20,30}

Answers

Answered by monali08
0
You can find the same programming on w3cschools.com

pallavighuge800: I didn't get it on w3school, can you send me the link please...
Similar questions