Showing posts with label C++. Show all posts
Showing posts with label C++. Show all posts
C program to implement the Lagrange interpolation

C program to implement the Lagrange interpolation

/* C program to implement the Lagrange interpolation.*/ #include<stdio.h> #include<conio.h> #define MaxN 90 ... Read more »
C Program that implements Simpson’s Method

C Program that implements Simpson’s Method

Simpson’s Rule: Simpson's rule is a method for numerical integration , the numerical approximation of definite integrals . Spec... Read more »
no image

Why #define is used in C?

#define is preprocessor command used to define constants and aliases. Look at this example: #include<stdio.h> #define PI 3.14 #defin... Read more »
Matrix Multiplication in C-Language and Dataflow graph

Matrix Multiplication in C-Language and Dataflow graph

Program: # include "stdio.h" main() {     int m1[10][10],i,j,k,m2[10][10],mult[10][10],r1,c1,r2,c2;     printf("Enter number... Read more »
no image

C Program to Calculate Simple Interest

Calculation of simple interest: simple interest is determined by multiplying the interest rate by the principal by the number of periods. Si... Read more »
no image

C Program to Find LCM of Two Numbers

Least Common Multiply: LCM of two integers is a smallest positive integer which is multiple of both integers that it is divisible by the bot... Read more »
no image

C Program to Find Armstrong Number

Armstrong number: An Armstrong number is an integer such that the sum of the cubes of its digits is equal to the number itself. For example,... Read more »
no image

C program to find / check / print no. of combinations

The following is the program to find no.of possible combinations. Programs: //write a c program to find / check / print no. of combinations ... Read more »
Play Snake Game in C

Play Snake Game in C

Have you ever thought of playing 'snake game' with C language. here it is, This is a game where The player controls a long, thin cre... Read more »
Play TIC-TAC-TOE Game in C language

Play TIC-TAC-TOE Game in C language

Code: #include<stdio.h> #include<conio.h> void main() { int i = 0;                                   /* Loop counter            ... Read more »
no image

Funny C Program

Here is one more tricky code, its so simple and funny. Compile and then give anything in input and see if its funny or not. Code: #include... Read more »
C Program for Bubble Sort

C Program for Bubble Sort

Bubble sort, also known as sinking sort, is a simple sorting algorithm that works by repeatedly stepping through the list to be sorted, comp... Read more »
 
Posts RSSComments RSSBack to top
© 2013 Updated Tech News Results and Reviews