Just some challenge code for ya, and some help for me on my independent study of C++
code a program that checks whether a string is a pseudo-palindrome.(a sentance that is spelled the same backwards/forwards.
first code the following functions:
char * remove_punct(char * str, char * remstr);
char * lowercase(char * str, char * lowstr);
char * reverse (char *str, char * revstr);
then test it on “Madam, I’m Adam.”
How do I have the user input a string to this bad boy...
/*****************************************************************/
Write a program that produces all circular anagrams of an input string of length at most 30 characters. For example, if the user inputs the string
abcd
the program will print all possible circular anagrams as follows:
abcd
dabc
cdab
bcda