Advertisement
Guest User

Untitled

a guest
Mar 29th, 2015
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. bool isdigit( char x )
  2. {
  3. int y = x - '0';
  4. if ( y >= 0 && y <= 9 ) return true;
  5. return false;
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement