Tags C program

Tag: c program

C program to add two polynomials using Linked Lists

C program to add two polynomials using Linked Lists : Adding two polynomials is quite easy stuff when we do it manually :P but it requires a bit effort while programming it. I have written a simple three step Algorithm to add polynomials: 1. Seperate the like terms aside say polynomial is 2xy^2 +x^2 +x. Now we have three seperate...

C program of Gauss Jordan Method

c program of gauss jordan method

C program to solve 3 Linear equations using Gauss Jordan Method. This program takes 4X4 matrix values as input and displays output in form of cool animated matrix.Let us see C program of Gauss Jordan Method below: How C program of Gauss Jordan Method works: C program of Gauss Jordan Method solves 3 linear equations using 4x4 matrix with animation, showing step by...

C program to calculate factorial of number

C Program to Calculate Factorial of number

C program to calculate factorial of number using recursion which accepts the number from the user as input of which Factorial has be calculated and return the output obtained by calculation factorial of a number. Lets us how to code C program to calculate Factorial of a number n. C Program to calculate Factorial of Number N : # include <stdio.h> #...

C Program for Shortest Job First Scheduling Algorithm

Shortest Job First Scheduling Algorithm in C

Hey friends, today we gonna discuss how to write a C program for Shortest job first scheduling algorithm or Non Preemptive scheduling algorithm. The code you gonna see below takes number of processes and the process name,burst time and arrival time as input from  the user and then calculates the and then displays the Gantt chart for the same.   C...

C Program to find palindrome of number

C Program to find palindrome of number : A palindrome is a word, phrase, number, or other sequence of units that may be read the same way in either direction. Let us consider some examples of palindrome strings or numbers, for example 12321, 1456541, hannah etc. Now let us see how we can write a C program to find palindrome...

C program for Selection Sort Algorithm | C Code champs

C program for Selection Sort Algorithm

C program for Selection Sort Algorithm: Selection sort basically determines the minimum (or maximum) of the list and swaps it with the element at the index where its supposed to be. The process is repeated such that the nth minimum (or maximum) element is swapped with the element at the n-1th index of the list. The below is an...