answersLogoWhite

0

Add the numbers.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Which matrix is one constant diagonals?

toeplitz


Write a C program to find sum of 3 matrices?

matrix


How to find x in a 2×2 matrix with a given determinant.?

For a matrix A, A is read as determinant of A and not, as modulus of A. ... sum of two or more elements, then the given determinant can be expressed as the sum


Write a C program using dynamic memory allocation to find the sum of elements of a matrix?

Did you know that memory allocation is not needed to display the matrix? However, the C program is to find the sum of all the elements.


How can find the number of diagonals in a hexagon?

Use the formula: 0.5*(n^2 -3n) = sum of diagonals whereas 'n' is number of sides So: 0.5*(36-18) = 9 diagonals in a 6 sided hexagon


When you know the sum of lengths of diagonal of a square how to find each diagonal?

To find the length of each diagonal of a square, divide the sum of the diagonal lengths by 2. Since a square has two diagonals of equal length, this division will give you the length of each diagonal.


What is the sum of a pentacontakaipentagon?

A shape does not have a sum. The angles of a shape have a sum, the lengths of its sides have a sum, the number of its diagonals are a sum, but the shape itself certainly does not have any sum!


the matrix sum below?

transformation


How do you write c programs to read and print out matrix and find sum and max number?

To write a C program that reads a matrix, prints it, and calculates both the sum and the maximum number, you can start by declaring a 2D array for the matrix. Use nested loops to input the matrix elements from the user and to print them. During the input process, maintain a variable to track the sum of all elements, as well as another variable to find the maximum value. Finally, output the sum and the maximum value after the matrix has been fully processed. Here's a simple structure: #include <stdio.h> int main() { int rows, cols; printf("Enter number of rows and columns: "); scanf("%d %d", &rows, &cols); int matrix[rows][cols], sum = 0, max = -2147483648; // Initialize max to the smallest int printf("Enter the matrix elements:\n"); for (int i = 0; i < rows; i++) for (int j = 0; j < cols; j++) { scanf("%d", &matrix[i][j]); sum += matrix[i][j]; if (matrix[i][j] > max) max = matrix[i][j]; } printf("Matrix:\n"); for (int i = 0; i < rows; i++) { for (int j = 0; j < cols; j++) printf("%d ", matrix[i][j]); printf("\n"); } printf("Sum: %d\nMax: %d\n", sum, max); return 0; }


The products of the diagonals of any 2 by 2 matrix are equal. why?

They are not, so they question should not arise.


What is the sum of a fifty gon?

The answer will depend on what aspect you wish to sum: its side lengths, it interior/exterior angles, its diagonals.


Sum of all diagonals of a square matrix by using c?

/* Ramana Reddy -IIIT */ #include main() { int a[10][10],i,j,m,n,sum=0; printf("Size of Matrix M*N:\n "); scanf("%d%d",&m,&n); if(m==n) { printf("\nEnter %d elements: \n",m*n); for(i=0;i