answersLogoWhite

0

algorithm & flowchrt of 2d matrices

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Difference between 1D array and 2D arrays?

1d array contains single row and multiple columns and 2d array contains multiple row and multiple columns. 2d array is a collection of 1d array placed one below another,while 1d array is simple a collection of elements.


How do you solve multiplication equations?

2d=12


Is there any overhead issues if you make a 2D array arr28 rather than making a 1D array arr16 of size 16 Any memory issues or execution differences between the two?

2D array of size 2x8 and 1D array of size 16


Subtraction of 2d array in java?

looda le lo mera


Can you get me a c program to get the multiplication table for given n numbers?

#include#includevoid main(){void mul(int n);clrscr();mul(5);//Number to print the Multiplication Tablegetch();}void mul(int n){int i;for(i=1;i


What is the program of 2d array in gw basic?

In GW-BASIC, a 2D array can be declared using the DIM statement, specifying the number of rows and columns. For example, DIM A(5, 5) creates a 2D array named A with 6 rows and 6 columns (indexing starts from 0). You can access and manipulate elements using syntax like A(row, column). Here's a simple example: A(1, 1) = 10 assigns the value 10 to the element in the second row and second column of the array.


How do you pass a 2D array in a functions?

if you were to call a function you would write it as: function(array[][], int pretend, double pretend2); arrays will always be passed by reference, not by value.


How do you access 2D array elements by using single variable?

int main() { int array[3][3]; int i; for(i=0; i <9;i++) { printf("the element is %d\n", array[i/3][i%3]); } return 0; }


How to write C multiplication table?

/****************************************** * C Program to print MultiplicationTable * * Author of the Program: M.JAYAKUMAR..* * Date 23 Nov 2006 * * ***************************************/ #include<stdio.h> main() { int i, p=1, table[10]; /* define integres and array */ /* *************************** * Output Formating Begins * ***************************/ for(i=0;i<61;i++) printf("#"); printf("\n# Program to print Multiplication table of any number"); printf("\n# NOTE: To exit type 0 \n"); for(i=0;i<61;i++) printf("#"); /* *************************** * Output Formating ENDS * ***************************/ while(p != 0) { printf("\nWhich table "); scanf("%d",&p); /* takes input from input */ for(i=0;i<10;i++) /* Fills the array */ { if(p==0) /* Stratagy to exit the program Benins */ { printf("Exiting\n"); break; } /* Stratagy to exit the program ends */ table[i]=i+1; /* Fills the array with numbers 1 - 10 */ printf("%2d x %2d = %2d\n", p, table[i], p * table[i]); } } }


How do you make a 2d column chart in Excel?

First you need to have the correct kind of data that is appropriate for the chart. Then you select it. You can then start the chart wizard and choose the chart you want. You can also select the data and then press the F11 key.


Would there be any Memory issues or execution issues or any merits or demerits of using 1D array of size 'mn' instead of using 2D array of size mxn?

It requires the same amount of memory, so it wouldn't spare anything. Don't do it.


How do you make a arrays of 18 pictures?

To create an array of 18 pictures, you first need to load the images into your programming environment. For example, in Python, you can use libraries like NumPy or PIL to handle the images. You can then create a list or a NumPy array and append or reshape the images into that structure, ensuring that each picture is stored in a consistent format, such as a 2D array for grayscale images or a 3D array for RGB images. Finally, you can manipulate or display the array as needed.