# C Programming Code Examples

## C > Mathematics Code Examples

### C Program to check Leap Year

C++ language Parameterized Constructor -
'Constructors with parameters' are known as "Parameterized Constructors". So these type of constructor allows us to "pass arguments" while object creation. Lets see how they look:

C++ Computes Discrete Fourier Transform -
This is a C++ Program to perform Fast Fourier Transform. A 'Fast Fourier transform' (FFT) is an algorithm to compute the discrete Fourier transform (DFT) & its inverse. Fourier analysis

C Language A Puzzle Finding the Number -
The main logic lies in displaying the numbers in the screen. The X & Y coordinate of each function is calculated with respect to mx "maximum of x value" & my "maximum of y

Top Down Triangle Printing in C Language -
C Program code to print 'Top Down Triangle'. A triangle with one of its 'angle 90 degrees' is called right triangle. We shall now see how to print stars, in right triangle shape, but upside

Find The Perfect Number In C++ language -
For example 6 is Perfect Number since divisor of 6 are 1, 2 and 3. Sum of its divisor is 1 + 2+ 3 =6 and 28 is also a 'Perfect Number' since 1+ 2 + 4 + 7 + 14= 28. Other 'Perfect Numbers': 496

C Mirror Image of Right Angled Triangles -
'Pyramid program' in C Programming. Mirror image of right angled triangle. "space_count" variable is used as 'Subscript Variable' used in for loop. 'noofspaces' variable is used to keep

C++ Code to Calculate Standard Deviation -
Program calculates the standard deviation of 10 data using arrays. This program calculates the 'standard deviation' of a individual series using arrays. calculate "Standard Deviation",

C++ Codings Delete Words from Sentence -
To 'delete particular words' from the string or sentence in C++ language, enter the string or sentence, and then enter the 'word to delete' all the given/entered word from the sentence