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
Object Initialization An object of a derived class can be initialized to an object of a base class. If both the classes have similar data members, then no specific constructor
board colouring program
A: This is a name that acts as an alias, or alternative name, for a beforehand defined variable or an object. prepending variable along with "&" symbol makes it as reference. fo
Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve betw Solution:
How to write a global inline function First, let's get away from member functions for a moment and consider a global function. To make a request that this function be in line:
Write a program that counts from 0 to 99 and prints these numbers to the terminal ie it prints 00, 01, 02, 03, 04, 05, ....,99. Graphics 1. Write a program in rPeANUt that
Protected derivation In addition to doing private and public derivations, you may also do a protected derivation. In this situation : The private members inherited
Q: Can I overload operator == so it allow me compare two char[] by a string comparison? A: No: at least one operand of particular overloaded operator should be of some user-defi
make use of class objects two calculate average
solve for radius(R) of a circle of its area is to be inputted by a user. also display compute the circle diameter hint: area= pir21 pi=2.1416
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