Advertisement
Guest User

Untitled

a guest
Jan 29th, 2020
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.32 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <ctype.h>
  3.  
  4.  
  5. void stampajBezBroja(char * niz){
  6.     int i=0;
  7.     while(niz[i]!=0){
  8.         if(!isdigit(niz[i])){
  9.             printf("%c",niz[i]);
  10.         }
  11.         i++;
  12.     }
  13. }
  14.  
  15. int main(){
  16.  
  17.     char niz[]="marko 0409 polaze ispit";
  18.  
  19.     stampajBezBroja(niz);
  20.  
  21.     return 0;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement