Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
WAP in C to find determinant of matrix order 3x3
#include
void main()
{
int i, j,cal;
int det[3][3];
printf("\n Enter Elements of Matric 3x3\n");
for (i=0; i<3; i++)
for(j=0;j<3; j++)
scanf("%d",&det[i][j]);
}
printf("\n Enter matrix is:\n");
for (i=0;i<3;i++)
printf("%d\t",det[i][j]);
printf("\n");
// Determinants of the matrix
cal=(det[0][0])*(cal=(det[1][1]*det[2][2])-(det[2][1]*det[1][2]))-det[0][1]*((det[1][0]*det[2][2])-(det[2][0]*det[1][2]))+det[0][2]*((det[1][0]*det[2][1])-(det[2][0]*det[1][1]));
printf("\n the Determinant of the matrix=%d\n",cal);
OUTPUT
write a program to find the area under the curve y=f(x) between x=a & x=b
Pointer to function: int mul(int a, int b, int c) { return a*b*c; } void main() { int (*function_pointer)(int, int, int); function_pointer = &mul;
In order to override a method, a subclass of the class which originally declared the method have to declare a method along with the same name, return type (or a subclass of that re
Assume that a Binary Search Tree is constructed by repeatedly inserting exact values in to the tree. Argue that the number of nodes examined in searching for a value in the tree is
Described virtual destructor?
program
Define the Data Type Modifiers in C language? There are three data types(int, float & double) above have the following modifiers. 1. short 2. long 3. signed 4. unsigned
Write out pseudocode for a function called "and" that takes two arguments, both booleans, and returns the logical and of the inputs. DO NOT use the logical and operator: instead, w
Literals (Constants) Constants are data storage locations whose address is not accessible for the user. Their value is not altered during the course of the program. Literal
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd