# C Programming Code Examples

## C > If Else and Switch Case Code Examples

### C program to find maximum between three numbers

Check the two Strings are Anagram or Not -
To check whether the two string are anagram or not anagram in C++, enter the 'two strings' to start checking for anagram and display the result on the Screen as shown here in sample

Any number of Digits Armstrong Sample -
An "Armstrong Number" is a number that is the 'sum of its own digits' each raised to the power of the number of digits is equal to the number itself. Some Armstrong numbers is 0

C++ Using Simple Hierarchical Inheritance -
In C++ Language, The relationships of objects or classes through "Inheritance" give rise to a hierarchy. In hierarchical inheritance a single class serves as a superclass for more than one

Find Angles of triangle if two angles given -
C Program to input two angles from user and find third angle of the triangle. How to find all angles of a triangle if two angles are given by user using C programming. Sum of angles of

Code calculate determinant of 3x3 Matrix -
C program to read elements in a matrix and find determinant of the given matrix. Find determinant of a 2x2 matrix and 3x3 matrix. Logic to find determinant of a matrix in C.

Volumes & Areas of geometric shapes in c -
C program coding to calculate area, volume, perimeter of a particular geometric shape. Square, rectangle, circle, triangle, rhombus, parallelogram, trapezium, quadrilateral,...

C++ Multiply two Matrices Passing Matrix -
Learn to "multiply two matrices" and display it using user defined function. This program asks user to enter the size of the matrix (rows and columns). Then, it asks the user to enter

Insert Element in Array at certain position -
Enter array size, array elements, element to be insert, enter the index where to insert the desired element in the array, so this program insert the desired element and displaying the