Category: C++

Read our latest blog posts

C++ Program to Separate Digits of a Positive Integer

Here we have some C++ programs which take a positive integer as input and output it's individual digits separated apart from each other.

Continue reading

Recursive C++ Program to Convert a Decimal Integer into Binary Number

A recursive program in C++ that converts a decimal integer into its binary equivalent.

Continue reading

C++ program to check if a sentence is a Palindrome or not

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...

Continue reading

Very Simple C++ programs – Nested loops Demonstration/Examples

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.

Continue reading

Revised Version: C++ program to check whether a number is prime or not

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...

Continue reading