Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static int countFail(int mark[])
- {
- int failed = 0;
- for(int x: mark)
- if(x < 50)
- failed++;
- return failed;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement