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
0
Answer:
wajha
Explanation:
dfojhhhhhvccccccccccccccccccccccccc
Similar questions
Computer Science,
5 hours ago
Computer Science,
5 hours ago
Geography,
5 hours ago
Hindi,
10 hours ago
Biology,
10 hours ago
Chemistry,
7 months ago
Chemistry,
7 months ago