Advertisement
Guest User

Untitled

a guest
Apr 25th, 2015
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.29 KB | None | 0 0
  1.         public int ile_m(int s)
  2.         {
  3.             int ile = 0;
  4.             foreach (Uczen u in l)
  5.             {
  6.                 if (u is Uczen)
  7.                     if ((u as Uczen).srednia_ocen >= s)
  8.                         ile++;
  9.             }
  10.             return ile;
  11.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement