Question: Integer arrays numSet 1 and numSet 2 are read from input, and each store 3 elements. For each index from 0 to NUM _ VALS,

Integer arrays numSet1 and numSet2 are read from input, and each store 3 elements. For each index from 0 to NUM_VALS, compare the element at the index in numSet1 with the element at the same index in numSet2. Store the smaller element in the array smallestNums.
Ex: If the input is:
244337
401428
then the output is:
241428

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!