bool Polinome(string st) { for (int i = 0; i < st.length(); ++i) if (st[i] != st[st.length() - i - 1]) return false; return true; }
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment