# C++ Programming Code Examples

## C++ > Mathematics Code Examples

### Check the Number is Prime or Not

Code Find Largest of Three input numbers -
C program to will prompt user to input three integer numbers and based on the input, it would compare and display greatest number as output. In this program number1, number2

C++ Doing Several Works with 2 Matrices -
This is a program of matrix capable of doing several works with two matrices. It can add, subtract, multiply of two matrices and if user wants to see the input entered in 2 matrices

C Programming Codes to Quick Sort Array -
Programming code load some random values into the array. Print the original array. Print the 'quicksorted' array. Sort everything in between 'low' 'high'. Compare value and find

C Coding Implement Queues using Stacks -
C language program code to ask the user for the operations like insert, delete and display. According to the entered option access the respective function using switch statement.

C++ Implement Dijkstra's Algorithm using -
This C++ program code displays the Djikstra's Algorithm of finding shortest paths from one node to others using the concept of a priority queue. A "Priority Queue" is an abstract data

Implement Pancake Sort Array of Integers -
C code implements Pancake Sort on array of integers. Pancake sorting is a variation of the "Sorting Problem" in which the only allowed operation is to reverse the elements of some

Goto Statement in The C++ programming -
The "goto statement" is used for transferring the control of a program to a given label. The syntax of goto statement looks like this: In a C++ program, we have any "number of goto"

C Language Finding the Sum of H.P Series -
This C program is used to find the sum of the 'Harmonic Progression Series'. H.P stands for harmonic progression. Harmonic progression is a progression formed by taking reciprocals