answersLogoWhite

0


Best Answer

Yes but why.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Is it possible to print matrix without using array?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you print array variable without using array subscripts?

Well the most prolific answer to this query would be the use of pointers.Use a pointer and allocate it to the array of interest and start printing.


How do you erase dot matrix print from paper?

how do you erase dot matrix print form paper


What is the highest quality of print produced by a dot matrix?

A basic dot matrix has 9 pins, which produces an average print. A dot matrix with 24 pins (or more) will produce a better quality print.


You want to write a simple without using pointer or array c program which will print greatest number when you give 20 number?

i want to write a simple without using pointer or array c program which will print greatest number when i give 20 number .........How far have you gotten so far?


Printer has a print head that moves across the width of the paper using pins to print a matrix of dots on the page?

dot matrix


Write a java program to print the result in the series?

If you have the series stored in an array, you loop through the array and print each array element in turn. Another possibility is to print out the numbers in the series as you generate them. In that case, you may not need to store anything (depending on the series, of course).


Program to print all the even numbers of an array in visual basic?

find even number in array


How do you print an array in JavaScript without using a loop?

var fruits = ["Banana", "Orange", "Apple", "Mango"]; var x=fruits.valueOf(); alert(x);


How to print the reverse of an array without using backward loop?

int youArray[arraysize] = {...};...for (int i = 1; i


How do you print element in array using javascript?

You would insert this command right after your array values have been specified.document.write(name of array[Number on array this item is, starts at 0])


C plus plus Program to calculate sum of element rowwise and columnwise?

#include<iostream> #include<array> #include<time.h> int main() { srand ((unsigned)time(nullptr)); // Matrix: 5 rows, 4 columns const size_t rows = 5; const size_t cols = 4; std::array<std::array<size_t, cols>, rows> matrix; // Initialise matrix with random values (range: 0 to 9) for (size_t row=0; row<rows; ++row) for (size_t col=0; col<cols; ++col) matrix[row][col] = rand() % 10; // Print matrix. std::cout << "Matrix:\n\n"; for (size_t row=0; row<rows; ++row) { for (size_t col=0; col<cols; ++col) std::cout << matrix[row][col] << '\t'; std::cout << std::endl; } std::cout << std::endl; // Initialise array for row and column sums std::array<size_t, rows> row_sum {}; std::array<size_t, cols> col_sum {}; // Calculate sums: for (size_t row=0; row<rows; ++row) { for (size_t col=0; col<cols; ++col) { row_sum[row] += matrix[row][col]; col_sum[col] += matrix[row][col]; } } // Print sums: for (size_t row=0; row<rows; ++row) std::cout << "Row " << row << " sum = " << row_sum[row] << std::endl; std::cout << std::endl; for (size_t col=0; col<cols; ++col) std::cout << "Col " << col << " sum = " << col_sum[col] << std::endl; std::cout << std::endl; }


How do you print a number as on or more literal words in PHP?

Create an array like so $numbers = array(); $numbers['0'] = "ZERO"; $numbers['1'] = "ONE"; and so on.. till you decide that's enough then to print it, echo the array with the desired key like so.. Example I print 5 in words echo $numbers['5']; which would print FIVE Good luck