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

Armstrong Numbers Between Two Integers

C++ Programming Finds Length of Strings - To find the length of the string in 'C++', ask to enter the string and then Find the Length the that string using function "strlen()" of string.h library and display the length value of a string

Maximum Minimum Elements in the Array - How to find maximum and minimum element in an array using recursion in C programming. Recursion works on the concept of divide and conquer. We break the problem in its smallest

Switch Statement Calculates Grade Points - A simple c++ program which shows using of switch statement in c++. C++ Program which takes input a grade and display Grade Points Average GPA. Program takes inputs A,a, B,b,

Calculates the Mean Variance & Deviation - This C Program calculates the mean, variance and standard deviation. The formula which is used in this c program are mean = average of the numbers. var=(summation( ( Xj - average

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++ Language Character & String Literals - When writing both single "character & string" literals, it is Necessary to 'Put the Quotation' marks surrounding them to distinguish them from possible variable identifiers or reserved

C Code interchange Diagonals of a Matrix - C programming code to read elements in a matrix and interchange elements of primary (major) diagonal with secondary (minor) diagonal. C program code for interchanging

Checks a Character is Vowel or Consonant - The five alphabets 'A, E, I, O and U' are called 'vowels'. All other alphabets except these five vowel letters are called consonants. Program above assumes that the user always enters an