diff --git a/check_uppercase_letters.cpp b/check_uppercase_letters.cpp new file mode 100644 index 0000000..807a3bc --- /dev/null +++ b/check_uppercase_letters.cpp @@ -0,0 +1,39 @@ +#include +#include + +using namespace std; + +bool checking(string phrase); + +int main() +{ + string phrase; + int lung,ris; + int cont=0; + cout<<" enter the phrase: "; + getline(cin,phrase); + + ris=checking(phrase); + if(ris==0){ + cout<<"there are no capital letters"<='A'&&phrase[i]<='Z') + { + check=true; + } + } + + return check; +}