daily pastebin goal
51%
SHARE
TWEET

Untitled

a guest Dec 13th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. int CountNegative(int *arr, int size)
  3. {
  4.     int counter=0;
  5.     for (int i = 0; i < size; i++)
  6.     {
  7.         if (arr[i] < 0)
  8.         {
  9.             counter++;
  10.         }
  11.     }
  12.     return counter;
  13. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top