I have written a program in C++ which can check a word, phrase or sentence if it is a palindrome on a character by character basis. It is capable of handling complex sentences with punctuation marks such as “Dammit, I’m mad!”.
A c++ program to check whether a number taken as input from the user is a complete square or not. It makes use of three variables, a while loop and an if statement.
A c++ program to check whether a number entered by the user is prime or not. This program uses three variables, a while loop and a few if selection statements. Check it out and please give your comments and suggestions.