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++ > Beginners Lab Assignments Code Examples

Convert a number into words





Calculator Program by use C++ Functions - A simple C++ Calculator which have different functions for different operations. menu base selection screen using switch statement. Ever operation should have its own function. Code

Print Armstrong Numbers from 1 to 1000 - Program code print Armstrong Number from 1 to 1000. An Armstrong number is an n-digit base b number such that the sum of its (base b) Digits Raised to the Power n is the number

C Programs Finds Area of Scalene Triangle - 'Scalene Triangle' does not have sides having Equal Length & No angles of Scalene Triangle are equal. To calculate Area, we need at least two sides and the angle included by them. So

Program Find the Average using Function - C code to find the average using function. We have created user defined function average() for the calculation of average. The numbers entered by user are passed to this c function

C++ Program Finds the Area & Perimeter - Enter width of rectangle and enter height of rectangle. Print the "area of rectangle". Print the perimeter of rectangle. Formula: Area of rectangle: height*width. Formula: Perimeter

C Convert Lowercase String to Uppercase - C user would be asked to enter a lower case String and the program would convert it into a Upper case String. Logic followed in the program: All lower case characters (a to z)

C Language Codes Finds Reverse of String - C Program code Find reverse of a given string using Loop. There are numerous ways to find Reverse of a String. First let us see the easiest method to find Reverse of String. Input string

C Reverse an Array without using another - C reverse array without using another array relies on the above logic. What we need to do is maintain two array indexes. arrIndex that moves from size - 1 to 0. revIndex that moves