Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include<cstring>
- using namespace std;
- int main()
- {char s[256],ok=0;
- int i;
- cin.getline(s,256);
- for(i=0;i<=strlen(s);i++)
- {if(s[i]>'0' && s[i]<'9')
- ok=1;
- break;}
- if(ok==0)
- cout<<"nu este";
- else
- cout<<"este";
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment