I'm new to this programming thing and not very good at it. I'm trying to write this palindrome program and i got 1 error but i cant figure out where i went wrong. can anybody help me and tell me where i went wrong and if this program will work?
{
if
{
isPalindrome [phrase] == [reverse] != null;
return Is a Palindrome;
}
else
{
printf("Is NOT a Palindrome \n");
}
}
{
printf("Please enter another phrase or enter quit to terminate this program \n")
}
is not doing anything because it isn't inside a function or the main function.
You need to figure out how to get that into the main function or the reverse function somehow.