Advertisement
ifinox

Untitled

Dec 5th, 2017
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.20 KB | None | 0 0
  1. void zad2(int fn, int *tab, int *iloczyn)
  2. {
  3.     int i;
  4.     int il=1;
  5.     for(i=0; i<fn; i++)
  6.     {
  7.         if(tab[i]%3==0)
  8.         {
  9.             il=il*tab[i];
  10.         }
  11.     }
  12.     *iloczyn = il;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement