posted 17 years ago
I have to write a program that would generate a matrix that should display the following output. They are asking that we dont hard code our values in this program. I am lost on how I will get these values to display without hard coding. My question is how should my expression look. Any information that you all can give me I would greatly appreciate it.
Output:
2 4 6 8 10
3 6 9 12 15
4 8 12 16 20
5 10 15 20 25
6 12 18 24 30