Computer Science, asked by Khushii8626, 10 months ago

It reads integers from the standard input (until it gets a negative number) and puts them into an array. After that it calls processarray on the array, and then prints the contents of the array on standard output.

Answers

Answered by ankitsunny
12

Explanation:

Input : arr[] = { 1, 8, -6, -1, 6, 8, 8 }

Output : 8

All positive elements have an equal negative

value except 8.

Input : arr[] = { 15, 6, -9, 4, 15, 9,

-6, -4, 15, 15 }

Output : 15

Answered by Ashritha2703
3

Answer:

Hope this annswer may help u

Attachments:
Similar questions