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
Classes and Objects A class is a vehicle to execute the OOP features in the C++ language. Once a class is declared, an object of that type can be explained. An object is said t
write a program that would accept the radius of the sphere and return its surface area.
Find out initial basic feasible solution for the given transportation problem using Least Cost Method (LCM).
Array types An array is a collection of objects of a one data type. The individual objects are accessed by their position in the array. This way of accessing is known as indexi
A: The answer to this lies actually, how they used. Along ++i(PreIncrement) the variable is incremented and new value is returned. Thus it needs one instruction to increment the va
write a grading program for a class with the following grading polices: a.there are two quizzes eaxh graded on the basis of 10 points b.there is ome midterm exam and one final exam
Problem Implement a class called employee that contains name, employee number and department code. Include a member function getdata() to get data from user and store it in the
Changing Field width The printf() and scanf() functions from the standard library, use width specifier for controlling the width of its output . Similarly, the ostream class al
i need a program that find the number of negative integers in a list.
(a) Write a fragment of code that declares a variable colSp of type ColourSpot, and then moves it to the point (3, -4), and sets its colour to Green. (b) A function QU8 is speci
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