Question: code in c using stdio only Alice and Bob are invited to their friend Charlie's birthday party. Charlie is a mat enthusiast and really likes

code in c using stdio only

code in c using stdio only Alice and Bob are invited to

Alice and Bob are invited to their friend Charlie's birthday party. Charlie is a mat enthusiast and really likes numbers, but in an orderly fashion. Alice has an array numbers in an increasing order. Bob has an array of a numbers in an increasir Alice and Bob wish to combine their presents and give Charlie an array of NAM in an increasing order. You need to output the final present given to Charlie. Input Format: The first line contains an integer N. The second line contains Alice's present (N space separated integers). The third line contains an integer M. The fourth line contains Bob's present (M space separated integers). Output Format: Output will contain N+M spaced separated numbers i.e. Charlie's birthday presen starting w=M-1 integers will be followed by a space ('') and the last integer will be followed by next line ( '). Public Test Cases Test Case Output -5 44 67 78 89 100 41 44 55 63 67 78 89 89 100 4. 41 55 68 89

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!