Advertisement
Guest User

Untitled

a guest
Aug 27th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.19 KB | None | 0 0
  1. public static int countFail(int mark[])
  2.     {
  3.         int failed = 0;
  4.        
  5.         for(int x: mark)
  6.             if(x < 50)
  7.                 failed++;
  8.        
  9.         return failed;
  10.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement