Advertisement
Josif_tepe

Untitled

Feb 4th, 2022
1,254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.30 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3. int main()
  4. {
  5.     string zbor;
  6.     cin >> zbor;
  7.    
  8.     for(int i = 0; i < zbor.size(); i++) {
  9.         if(isalnum(zbor[i])) {
  10.             cout << "C/B " ;
  11.         }
  12.         else {
  13.             cout << "SPECIJALEN ";
  14.         }
  15.     }
  16.     return 0;
  17. }
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement