C Program to Calculate Electricity Bill

In this tutorial, i am going to show you how to calculate electricity bill in c program. Using the following condition, write a c program to calculate electricity unit charge and calculate the total electricity bill according to the given condition: C Program to Calculate Electricity Bill /** * C program to calculate total electricity … Read more

C program to Find Grade of a Student

In this tutorial, i am going to show you how to find the grade of a student in c program. C Program to Find Grade of a Student Using If Else #include <stdio.h> int main() { float marks, Total, Percentage; printf(” Please Enter Marks out of 500 :-” ); scanf(“%f”, &marks); Percentage = (marks / … Read more

C Program for Selection Sort

In this tutorial, i am going to show you how to implement a program for selection sort in c with the help of for loop and while loop. Selection sort works by taking the smallest element in an unsorted array and bringing it to the front. You’ll go through each item (from left to right) until … Read more

C Program to Insertion Sort

In this tutorial, i am going to show you how to implement the insertion sort program in c with the help of for loop, while loop, and function. Insertion sort is a sorting algorithm that places an unsorted element at its suitable place in each iteration. Insertion sort works similarly as we sort cards in our … Read more

C Program for Quick Sort

In this tutorial, i am going to show you how to implement quick sort program in c. A sorting technique that sequences a list by continuously dividing the list into two parts and moving the lower items to one side and the higher items to the other. It starts by picking one item in the … Read more

C Program for Bubble Sort

In this tutorial, i am going to show you how to write a program for bubble sort with the help of for loop, while loop and function in c. Bubble Sort is the simplest sorting algorithm that works by repeatedly swapping the adjacent elements if they are in the wrong order. Example: First Pass: ( 5 … Read more