Guest User

Untitled

a guest
Oct 27th, 2015
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <ctype.h>
  3.  
  4. int main(){
  5.  
  6. char c ;
  7. int minZbirParni = 0, maxZbirNeparni = 0, zbirParni=0, zbirNeparni =0, broj = 0 , maxZbirBroj =0, minZbirBroj=0;
  8. int first = 1;
  9. while (1) {
  10. c = getchar();
  11. if ((c>= '0' && c <= '9') || c == ' ' ){
  12. //kod
  13. }else{
  14. break;
  15. }
  16. }
  17.  
  18. printf("Najmal: %d \n Najgolem: %d" , minZbirBroj , maxZbirBroj);
  19. }
Advertisement
Add Comment
Please, Sign In to add comment