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!”.
These are four very simple C++ programs which demonstrate how to use nested loops. Problem is that we have to print some simple patterns of integers. So, let’s do it.
It is a revised version of one of my programs named C++ program check whether a number is prime or not. It has been improved according to the suggestions of one of my readers.
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.