answersLogoWhite

0

#include<iostream.h>

main()

{

int a[3][3],i,j,count=0;

cout<<"\nenter the 3x3 matrix :\n";

for(i=0;i<3;i++)

{

for(j=0;j<3;j++)

{

cin>>a[i][j];

}

}

for(i=0;i<3;i++)

{

for(j=0;j<3;j++)

{

cout<<a[i][j]<<" ";

}

cout<<"\n";

}

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Is the halting problem a decidable problem?

No, the halting problem is undecidable, meaning there is no algorithm that can determine whether a given program will halt or run forever.


Is the halting problem undecidable?

Yes, the halting problem is undecidable, meaning that there is no algorithm that can determine whether a given program will halt or run indefinitely.


How do you write a java program to find the transpose of the matrix for the given elements?

You basically write a nested for loop (one for within another one), to copy the elements of the matrix to a new matrix.


Algorithms to the given c plus plus programs?

The question is impossible to answer. You cannot determine an algorithm from a given program if the program is not actually given in the question. Please place the program in the discussion section.


What is matrix programming in C programming?

C Examples on Matrix OperationsA matrix is a rectangular array of numbers or symbols arranged in rows and columns. The following section contains a list of C programs which perform the operations of Addition, Subtraction and Multiplication on the 2 matrices. The section also deals with evaluating the transpose of a given matrix. The transpose of a matrix is the interchange of rows and columns.The section also has programs on finding the trace of 2 matrices, calculating the sum and difference of two matrices. It also has a C program which is used to perform multiplication of a matrix using recursion.C Program to Calculate the Addition or Subtraction & Trace of 2 MatricesC Program to Find the Transpose of a given MatrixC Program to Compute the Product of Two MatricesC Program to Calculate the Sum & Difference of the MatricesC Program to Perform Matrix Multiplication using Recursion


Determinant of test?

The determinant of test is usually a scalar quantity. The determinant of a matrix is used to test whether a given matrix has an inverse or not. It is used to test for the linear dependence of the vectors.


Transitive matrix-a matlab program?

taking an example of matrix x ,we find whether this matrix is transitive or not: x=[1 1 0 ;1 0 1;1 0 1] m=1; for i=1:3 for j=1:3 if x(i,j)==1 for k=1:3 if x(j,k)==1 if x(i,k)~=1 m=0; end end end end end end if m==1 disp('Given matrix is Transitive') else disp('Given Matrix is not Transitive') end


How do you write a program that calculates the sum of the matrix elements given numbers?

ring me and ill explain - 086 22222222222222227 ring me


Reflexive matrix for a given matrix?

The matrices that follow d rule of reflexivity is known as ref matrix


Why is the halting problem unsolvable?

The halting problem is unsolvable because it is impossible to create a program that can accurately determine whether any given program will eventually stop or run forever. This limitation was proven by Alan Turing in 1936, showing that there is no algorithm that can solve this problem for all possible programs.


What is Portfolio matrix?

this is an asignment made in some schools or programs such as the International Bachaullarate. you need to accomplish 2 portfolios throughout the two years. they account for 20% of your final grade. ----------------------------------------------------------------------------------------------------- The portfolio matrix or BCG Matrix is a portfolio management tools that can be used to determine what priorities should be given in the product portfolio.


Could you write a assembly language program in tasm To check whether a given number present in a sequence of given memory location containing the string to be checked in 8086?

8086 assembly language program to check wether given number is perfect or not