Happy Codings - Programming Code Examples
Html Css Web Design Sample Codes CPlusPlus Programming Sample Codes JavaScript Programming Sample Codes C Programming Sample Codes CSharp Programming Sample Codes Java Programming Sample Codes Php Programming Sample Codes Visual Basic Programming Sample Codes


C++ Programming Code Examples

C++ > Mathematics Code Examples

C++ Program to Swap Two Numbers





C++ Program Code Implement Radix Sort - In this algorithm Sorting of Data is done from least significant digit to most significant digit. Here we need 10 different spaces labeled 0 to 9. Assume we have "n" Number of inputs. Let

C++ Codes Solve Tower of Hanoi Problem - C++ program displays the iterative solution to the Tower of Hanoi problem. Tower Of Hanoi consists of 'three rods' and a number of disks of different sizes which can "Slide Onto" any

Check Vowel or Consonant use ASCII Code - English Alphabets a, e, i, o, u both Lowercase & Uppercase are known as vowels. Alphabets other than Vowels are known as Consonants. Step by step descriptive logic to check vowels

Program code to Reverse a Given Number - Take the Number which you have to Reverse as the input. Obtain its quotient & remainder. Multiply the separate variable with 10 & add the obtained remainder to it. Do step 2 again

C Programs Checks If String is Palindrome - Program accepts a string and checks whether a given string is 'Palindrome'. Take a string as input & store it in the array string[]. Store the same string into the another array 'reverse_s'

C Program code Generate Fibonacci Series - Generates fibonacci series. In fibonacci series the first 2 numbers in the Fibonacci sequence are 0, 1, each Subsequent Number is the sum of the previous two. Example 0, 1, 1, 2, 3, 5, 8,

C++ Implements Fermat's Little Theorem - Program demonstrates the implementation of Fermat's Little Theorem. For the modular "multiplicative inverse" to exist, the number and 'Modular' must be 'Coprime'. Calculates

Check Whether Two Strings are Anagrams - Program takes two strings as input & checks whether two strings are anagrams. Take two strings as input and store them in the arrays array1[] array2[] respectively. In the function