Contact: aviboots(AT)netvision.net.il
41,467 questions
54,014 answers
573 users
#include <iostream> #include <algorithm> using namespace std; int main() { string s = "CPPJAVAPHP"; bool b = all_of(s.begin(), s.end(), ::isupper); cout << b; return 0; } /* run: 1 */