niyaznigmatullin

Untitled

Dec 27th, 2013
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.17 KB | None | 0 0
  1.  
  2.   int ch = getchar();
  3.   while (ch < 'a' || ch > 'z')
  4.     ch = getchar();
  5.   int n = 0;
  6.   while (ch >= 'a' && ch <= 'z') {
  7.     s[n++] = ch;
  8.     ch = getchar();
  9.   }
Advertisement
Add Comment
Please, Sign In to add comment