Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <cstdlib>
- #include <iostream>
- #include <cstring>
- using namespace std;
- int main(int argc, char *argv[])
- {
- char *x;
- cout<<"Wprowadź wyraz: ";
- cin>>*x;
- if ((strlen(x)<5) && (strlen(x)>12))
- {
- cout<<"OK";
- }
- else
- {
- cout<<"BLAD";
- }
- system("PAUSE");
- return EXIT_SUCCESS;
- }
Add Comment
Please, Sign In to add comment