C++ Programming Examples
C++ programs and examples with solutions
Program - 1
C++ program to check numbers are unique
Program - 4
C++ program to calculate electricity bill
Program - 5
C++ program to check where is profit or loss
Program - 7
C++ program to print table
Program - 9
C++ program to find the factorial of a number
Program - 11
C++ program to convert decimal number to binary
Program - 17
C++ program to find prime numbers in an array
Program - 21
C++ program to search an element in an array
Program - 23
C++ program to insert any number in a sorted array
Program - 24
C++ program to merge two sorted arrays
Program - 27
C++ program to reverse an array
Program - 28
C++ program to sort an array using bubble sort
Program - 29
C++ program to sort an array using selection sort
Program - 32
C++ program to accept 10 cities names, input character, display cities starting with it.
Program - 33
C++ program to input 5 cities, display name and length of city with max length using array of characters
Program - 34
C++ program to input 5 cities, display the name and length of city with maximum length using array of strings
Program - 39