Currently browsing category

C Programs

Contains examples of C programming

C++ Program on Temperature Conversion ‘Celsius to Kelvin to Fahrenheit’

This program will let you convert temperature from one unit to other unit. The first program will convert Celsius to Kelvin. The second will convert Kelvin to Celsius. The next will convert Celsius to Fahrenheit. The last one will convert Fahrenheit. So you can make more programs by using more …

C++ Project on Library Management System

This project of “ LIBRARY MANAGEMENT SYSTEM” of gives us the complete information about the library. We can enter the record of new books and retrieve the details of books available in the library. We can issue the books to the students and maintain their records like modifying information, searching …

Gaming Project Tutorial for Tic-Tac-Toe in C plus plus

This is a simple game project tutorial for Tic-Tac-Toe in C plus plus, Tic-tac-toe is a pencil-and-paper game for two players, X and O, who take turns marking the spaces in a 3×3 grid. The player who succeeds in placing three respective marks in a horizontal, vertical, or diagonal row …

Find the sum of cos(x) series

/* Write a C program to find the sum of cos(x) series */ #include<stdio.h> #include<math.h> void main() { int n,x1,i,j; float x,sign,cosx,fact; …

Implementation of Stack to perform Push, Pop and Display operations on C language

 Definition of Stack A Stack is defined as a special type of data structure where items are inserted from one end called …

Calculate factorial of integer - Flowchart

Calculate Factorial of the integer – C program – Code

Logic for finding Factorial Let n=5 be the number then, Factorial = 5 x 4 x 3 x 2 x 1 = …

Binary Search of an sorted array using C Program Code & Algorithm

Definition: Binary Search is used for searching in a sorted array in C programming. This search method tests the middle element of …

C Program – Code – Area and Volume of Square, Rectangle, Circle and Triangle

Description: This program in C finds out the Area and Volume of Square, Rectangle, Circle and Triangle.