T
T
tarasrm2020-11-10 19:00:42
C++ / C#
tarasrm, 2020-11-10 19:00:42

How to set matrix X[5][7] in C?

How to make a program to enter the matrix X[5][7] from the keyboard?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
W
Wataru, 2020-11-10
@tarasrm

Two loops nested inside each other. External by rows, 5 iterations. Nested by columns, 7 iterations. Inside, reading one number from the keyboard, but not reading into some variable, but into x[i][j].

R
res2001, 2020-11-10
@res2001

int X[5][7];

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question