Question: ( Question for someone Skilled in FORTRAN 90 ) In c++, if I wanted to represent the matrix: 5 0 0 10 0 0 1
( Question for someone Skilled in FORTRAN 90 )
In c++, if I wanted to represent the matrix:
| 5 | 0 | 0 |
| 10 | 0 | 0 |
| 1 | 0 | 0 |
I would have simply done this and call it a day: int y[3][3] = { {5,10,1}, {0,0,0}, {0,0,0} };
My question is, how do I the same thing in Fortan 90? Also I am aware that the indices for multidimensional arrays start at 1 unless specified in Fortan 90 however I NEED it
to start at 0. Please assist.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
