Here we have some C++ programs which take a positive integer as input and output it’s individual digits separated apart from each other.
A recursive program in C++ that converts a decimal integer into its binary equivalent.
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.