victorsantanna
MIS
- Jan 27, 2014
- 3
Please I need help with a program , I need to submit a job
Develop a FORTRAN program that reads a square matrix containing integers from an input file and write it on the screen , using the " open" command. The matrix should be able to store information on up to 10 rows and 10 columns . Then the program should display the on-screen menu options below and let the user choose the options 1,2 or 3.If you choose an invalid option , display the menu again :
1 - multiplication
2 - arithmetic mean
3- exit
Option 1 : Should be called a sub routine that multiplies each row of the matrix element of the secondary diagonal , thus making a new matrix.The new matrix should be sent to the main program and then must be written on the screen
Option 2 : An external function should be used to calculate the arithmetic mean of the elements of the matrix below the diagonal secondary.The result should be sent to the main program and then must be written on the screen.
Tks
Develop a FORTRAN program that reads a square matrix containing integers from an input file and write it on the screen , using the " open" command. The matrix should be able to store information on up to 10 rows and 10 columns . Then the program should display the on-screen menu options below and let the user choose the options 1,2 or 3.If you choose an invalid option , display the menu again :
1 - multiplication
2 - arithmetic mean
3- exit
Option 1 : Should be called a sub routine that multiplies each row of the matrix element of the secondary diagonal , thus making a new matrix.The new matrix should be sent to the main program and then must be written on the screen
Option 2 : An external function should be used to calculate the arithmetic mean of the elements of the matrix below the diagonal secondary.The result should be sent to the main program and then must be written on the screen.
Tks