[C++] loop dit.file thru parsing function - out to file[C++] loop dit.file thru parsing function - out to file

🕵️

The Secret Order

Week 3, 2026

//Paste your solution here if you want to share it publicly #include #include #include #include #include #include #include using namespace std; //------------------------------------------- static bool isAbecedarian(string s) { int index = s.length() - 1; for (int i = 0; i < index; i++) { if (s.at(i) <= s.at(i + 1)) { return true; } //Need to check if each letter for the whole word is less than the one before it else { return false; } } return true; } //------------------------------------------- bool isAlphabeticOrderX(string s) { // array to store the // count of each alphabet int arr[26]={0}; int n = s.length(); if( n > 1)//skips single letter words { for(int i=0;i