Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <ctype.h>
- int main(){
- char c ;
- int minZbirParni = 0, maxZbirNeparni = 0, zbirParni=0, zbirNeparni =0, broj = 0 , maxZbirBroj =0, minZbirBroj=0;
- int first = 1;
- while (1) {
- c = getchar();
- if ((c>= '0' && c <= '9') || c == ' ' ){
- //kod
- }else{
- break;
- }
- }
- printf("Najmal: %d \n Najgolem: %d" , minZbirBroj , maxZbirBroj);
- }
Advertisement
Add Comment
Please, Sign In to add comment