uhm sir... the program must be like this...
..awwwhelp me plsss

the rows and columns must input numbers manually

...and the result will be like multiplication table...

the outcome must be like this:

number of rows?: 5
number of columns: 6

input rows: 2 3 5 1 0
input columns: 1 5 7 8 2 3

1 5 7 8 2 3
2 2 10 14 16 4 6
3 3 15 21 24 6 9
5 5 25 35 40 10 15
1 1 5 7 8 2 3
0 0 0 0 0 0 0

Recommended Answers

All 4 Replies

Your question doesn't make any sense! How are the values in the matrix generated? What are you trying to do?

uhm sir... the program must be like this...
..awwwhelp me plsss

the rows and columns must input numbers manually

...and the result will be like multiplication table...

the outcome must be like this:

number of rows?: 5
number of columns: 6

input rows: 2 3 5 1 0
input columns: 1 5 7 8 2 3

1 5 7 8 2 3
2 2 10 14 16 4 6
3 3 15 21 24 6 9
5 5 25 35 40 10 15
1 1 5 7 8 2 3
0 0 0 0 0 0 0

sorry sir but i wanna show is a multiplication table taht i can input any nuber i want for columns and rows of the array....ive got the alogrithm of it but the problem is how can i manually input my rows and columns.. like columns: 6 4 1
rows : 9 5 1
like that sir...

Post your code.

Please explain ur problem by using example still your problem is not in understandable form so no one can able to help you, but i think your problem is so simple.........

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.