Question: develop a program that you suppose to find two numbers in an array. the two numbers' sum is a constant. the size of the array

develop a program that you suppose to find two numbers in an array. the two numbers' sum is a constant. the size of the array is 10. input specification: input 10 numbers in the first line. input a number at the second line to be the constant (the sum of two numbers) . output specification: output 2 numbers each line. sample input: 81 78 80 67 85 42 86 82 90 79 160 sample output: write the corresponding sample output here. for example: 81 79 78 82

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!