Use c or java : Write a program to find lowest number of integers in the array that sums up the given number. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

Use c or java : Write a program to find lowest number of integers in the array that sums up the given number.

Input Array : [10, 0, -1, 20, 25, 30] Required Sum: 45 Output: [20, 25]

6th Jul 2020, 2:31 AM
Dadasaheb Patil
Dadasaheb Patil - avatar
1 Answer
+ 4
Dadasaheb Patil Can you pls show your attempt . If it's wrong we'll assist you :)
6th Jul 2020, 3:16 AM
Nilesh