a guest Dec 13th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- int CountNegative(int *arr, int size)
- int counter=0;
- for (int i = 0; i < size; i++)
- if (arr[i] < 0)
- return counter;
RAW Paste Data