# C++ Program to Check Whether a Number can be Express as Sum of Two Prime Numbers

Example to check if an integer (entered by the user) can be expressed as the sum of two prime numbers of all possible combinations with the use of functions. To…

# C++ Program to Check Prime Number By Creating a Function

You will learn to check whether a number entered by the user is prime or not by passing it to a user-defined function. To understand this example, you should have…

# C++ Program to Display Prime Numbers Between Two Intervals Using Functions

Example to print all prime numbers between two numbers (entered by the user) by making a user-defined function. To understand this example, you should have the knowledge of following C++ programming…

# C++ Program to Make a Simple Calculator to Add, Subtract, Multiply or Divide Using switch…case

Example to create a simple calculator to add, subtract, multiply and divide using a switch and break statement. To understand this example, you should have the knowledge of following C++ programming…

# C++ Programs To Create Pyramid and Pattern

In this tutorial, we will create a program to print half pyramid, pyramid, inverted pyramid, Pascal’s Triangle and Floyd’s triangle in C++ Programming using control statements. To understand this example,…

# C++ Program to Display Factors of a Number

In this tutorial we make a program to find all factors of an integer (entered by the user) using for loop and if statement. To understand this example, you should…

# C++ Program to Display Armstrong Number Between Two Intervals

Example to find all Armstrong numbers between two integers (entered by the user) using loops and if…else statement. To understand this example, you should have the knowledge of following C++ programming topics:…

# C++ Program to Check Armstrong Number

Example to check whether an integer (entered by the user) is an Armstrong number or not using while loop and if…else statement. To understand this example, you should have the…

# C++ Program to Display Prime Numbers Between Two Intervals

Example to print all prime numbers between two numbers (entered by the user) in C++ Programming. This problem is solved using nested for loop and if…else statement. To understand this…

# C++ Program to Check Whether a Number is Prime or Not

Example to check whether an integer (entered by the user) is a prime number or not using for loop and if…else statement. To understand this example, you should have the…