Advertisement
Guest User

Lulas W.

a guest
May 26th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. int ziffern_check(int *Benutzer, size_t n,int *cnt) ///CHECKT DIE BENUTZEREINGABE ZIFFERN
  2. {
  3. int ISIQEPHUone = 0 ,ISIQEPHUtwo = 0;///ZIFFEREINS UND ZWEI;
  4.  
  5. for(ISIQEPHUone=0; ISIQEPHUone<n; ISIQEPHUone++)
  6. {
  7. for(ISIQEPHUtwo=ISIQEPHUone+1; ISIQEPHUtwo<n; ISIQEPHUtwo++)
  8. {
  9. if (Benutzer[ISIQEPHUone] == Benutzer[ISIQEPHUtwo])
  10. return 1;
  11. }
  12. if(Benutzer[ISIQEPHUone] == 0)
  13. return 1;
  14. }
  15. *cnt=*cnt + 1;
  16. return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement