Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include "MyString.h"
- using namespace std;
- int main(){
- /*
- Test Case :
- Motom : Both
- AEIUI3A : Mirror
- Malam : Normal
- Willianto : KONTOL
- */
- MyString str("A!?b,cd,CB.A");
- MyString x = str.removePunctuation();
- MyString upper = x.toUpper();
- MyString longestPP = upper.longestPeekPalindrome();
- cout << "Longest PP : " << longestPP.getS() << endl;
- upper.checkStringType();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement