Source Codes
C/C++
Simple programs:
To calculate area and
circumference of the circle
To find the biggest and smallest of three numbers
To find the roots of a
quadratic equation
To find the gross and net
salary
To find the biggest and smallest number and their respective position in the
given array
Number programs:
Program
for prime numbers
Program for perfect
numbers
Program for fibonacci
numbers
Program for armstrong
numbers
To reverse a given number
To check whether a given
number is palindrome or not
To find the sum of digits
To find the sum of the sine
series
To find the sum of the cos
series
Sorting programs:
To sort the numbers using
Bubble sort
To
sort the numbers using Insertion sort
To sort the numbers using
Selection sort
MATRIX programs:
To find the sum of two
matrices
To find the difference of
two matrices
To multiply two matrices
To find the sum of primary
diagonal of a matrix
To find the sum of
secondary diagonal of a matrix
To find the transpose of
a matrix