Q. A set of two linear equations with two unknowns x1 and x2 is given. ax1+bx2=m cx1+dx2=n The set has a unique solution x1=(md-bn)/(ad-...
Read More
Home / C Language
Showing posts with label C Language. Show all posts
Showing posts with label C Language. Show all posts
Area of Ellipse using function: C Programming
Code goes like this : /* Program for calculating area of ellipse */ #include<stdio.h> #define PI 3.1415 float area_of_ellipse(float a...
Read More
Swap Values Without Using 3rd Variables : C Programming
For the above program, code goes like this : /* Swapping values without using 3rd Variable */ #include<stdio.h> main() { int ...
Read More
Swapping Values using 3rd Variable : C Programming
Code goes like this : /* Swapping values without using 3rd Variable */ #include<stdio.h> main() { int a,b; printf(...
Read More
Subscribe to:
Posts
(
Atom
)