## C++ Program to check a number is prime or not

In this program, You will learn how to check a number is prime or not in C++. Some list of prime numbers is 2, 3, 5, 7, 11, 13 Example:…

Continue Reading C++ Program to check a number is prime or not

## C++ Program to check a number is Armstrong or not of 4 digits

In this program, you will learn how to check a number is Armstrong or not of 4 digits in C++. Some list of Armstrong numbers of 4 digts : 1634,…

Continue Reading C++ Program to check a number is Armstrong or not of 4 digits

## C++ Program to check number is Armstrong or not

In this program, You will learn how to check number is Armstrong or not in C++. Some list of Armstrong number is : 153, 370, 371 Example: How to check…

Continue Reading C++ Program to check number is Armstrong or not

## C++ Program to check a number is palindrome or not

In this program, You will learn how to check a number is palindrome or not in C++. Some list of palindrome number is : 11, 22, 33, 101, 222. Example:…

Continue Reading C++ Program to check a number is palindrome or not

## C++ Program to reverse a number

In this program, You will learn how to reverse a number in C++. 123 => 321 153 => 351 Example: How to reverse a number in C++. #include<iostream> using namespace…

Continue Reading C++ Program to reverse a number

## C++ Program to check a number is a strong number or not

In this program, You will learn how to check a number is a strong number or not in C++. Some list of strong numbers is :1, 2, 145, 40585 Example:…

Continue Reading C++ Program to check a number is a strong number or not

## C++ Program to check a number is a perfect number or not

In this program, You will learn how to check a number is a perfect number or not in C++. Some list are: 6, 28, 496, 8128 if (n % i…

Continue Reading C++ Program to check a number is a perfect number or not

## C++ Program to find factorial of a number

In this program, You will learn how to find factorial of a number in C++. 3! = 1 * 2 * 3 4! = 1 * 2 * 3 *…

Continue Reading C++ Program to find factorial of a number

## C++ Program to print sum of first 10 natural numbers

In this program, You will learn how to print the sum of the first 10 natural numbers in C++. 1 + 2 + 3 + ... + 10 = 55…

Continue Reading C++ Program to print sum of first 10 natural numbers

## C++ Program to perform arithmetic operations using switch case

In this program, You will learn how to perform arithmetic operations using switch case in C++. Enter your choice = 1 10 + 10 = 20 Example: How to perform…

Continue Reading C++ Program to perform arithmetic operations using switch case