Advertisement
sellmmaahh

OR-Skripta-Zad37.

Aug 12th, 2015
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.27 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3.  
  4. void ispis_preko_a(int *polje, int a, int d) {
  5.     int i;
  6.     for (i=0; i<d; i++) {
  7.             if (polje[i]>a) printf("%d ",polje[i]);
  8.     }
  9. }
  10. int main () {
  11.     int niz[10]={3,7,12,54,23,6,2,89,8,9};
  12.     ispis_preko_a(niz,5,10);
  13.     return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement