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 = 120 So, let’s do same logic in coding Flowchart Calculate factorial of integer – Flowchart Code /*find...
View ArticleImplementation of Stack to perform Push, Pop and Display operations on C...
Definition of Stack A Stack is defined as a special type of data structure where items are inserted from one end called top of stack and items are deleted from the same end. Here, the last item...
View ArticleFind 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; //accepts floating values printf("Enter the...
View ArticleGaming 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...
View ArticleC++ 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...
View ArticleC++ 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...
View ArticleHeap Sort – C Source Code and Algorithm
Heap sort is a relatively simple algorithm built upon the heap data structure. A naive implementation requires additional space, but it is possible to do a heap sort in place. Heap sort has guaranteed...
View ArticleC++ Program to find Age and Days With Date of Birth Given using Class
(adsbygoogle = window.adsbygoogle || []).push({}); Concept: In this C++ Program the problem is to find age and days of birth when Date of Birth and present date is given. So main concept behind it is...
View ArticleC++ Program to calculate Date of Birth with Age given using Class
(adsbygoogle = window.adsbygoogle || []).push({}); Concept: In this C++ program, problem is to calculate date of birth with Age and present date given using concepts of class in c++. This program...
View ArticleC Program implementing the Bisection Method ( Numerical Computing )
(adsbygoogle = window.adsbygoogle || []).push({}); First read Bisection Method Algorithm and Flowchart [Numerical Computing] Method 1: This program in C is used to demonstrate bisection method....
View ArticleC Program implementing Lagrange Interpolation Formula (Numerical Computing)
(adsbygoogle = window.adsbygoogle || []).push({}); In numerical analysis, Lagrange polynomials are used for polynomial interpolation. For a given set of distinct points Xi and numbers Yi, the Lagrange...
View Article