Advertisement
Guest User

Untitled

a guest
Feb 14th, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. #include "iostream"
  2.  
  3. using namespace std;
  4.  
  5. int main(){
  6. int a=108;
  7. if(!isdigit(a)){
  8. cout<<"The number is not a digit";
  9. }
  10. else
  11. cout<<"It's a Number!";
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement