Computer Science, asked by shubnegi1004, 10 hours ago

Problem-1
Consider an array of following +ve and -ve numbers.
Input:
Line 1 contains an integer N.
• Line 2 contains space-separated N elements.
Output:
Display them in an alternate style such that each +ve number is followed by -ve and
reciprocally maintaining the arrangement of appearance.
• The count of +ve and -ve numbers need not be equal.
• If there are more +ve numbers they appear at the end of the array
. If there are more -ve numbers, they too appear at the end of the array​

Answers

Answered by marufc566
0

Answer:

wajha

Explanation:

dfojhhhhhvccccccccccccccccccccccccc

Similar questions