Advertisement
tegusta

quante volte compare, iteraz limitate

Oct 8th, 2012
307
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. int gheSeonongheSe(int a[], int n, int jjj){
  2. int ghe_se=0;
  3. int i=0;
  4. while(a[i]<=jjj && i<n){
  5. if(a[i]==jjj)
  6. ghe_se++;
  7. i++;
  8. }//while
  9. return ghe_se;
  10. }//gheSeonongheSe
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement