College assignments, etc.
Turbo C++ unless otherwise stated in the file.
Filename | Description |
---|---|
factorial_recursive.c | To calculate of nCr with a factorial function that computes factorial using recursively calling itself. |
bubble_sort.c | Sorting a given array of numbers using bubble sort algorithm |
strcpy.c | Copy contents of one string to another |
simple_and_compound_interest.c | Calculate simple interest and compound interest given the time, the principal amount and rate of interest. |
factorial.c | To calculate of nCr with a factorial function that computes factorial using loops. |
selection__sort.c | Sort a given array using Selection Sort algorithm. |
shift_by_1.c | Program to shift the contents of an array by 1 |
sum_of_matrix_elements.c | To calculate the sum of non-diagonal elements of a square matrix |
number_of_days.c | Prints number of days of the month of given year and month |
palindrome.c | To check whether a given number is a palindrome or not |
fraction_operations.c | Print, add, and multiply fractions |
pattern.c | Print the pattern given below |