tesaoghost
Programmer
- Jan 9, 2014
- 11
Hi every body
I am new to this forum and I have a question about fortran read statement. I want to send cursor to a specified position in output screen and enter data at that position. Take a look at these lines:
program GaussElimination
implicit none
print *,"PLEASE ENTER DIMENSION OF (A) MATRIX :"
Read *,n
I want to enter n at the same line after print statement. But cursor jumps to the next line after print statement automatically.
How should I enter the n at the same line?
Thanks a lot
I am new to this forum and I have a question about fortran read statement. I want to send cursor to a specified position in output screen and enter data at that position. Take a look at these lines:
program GaussElimination
implicit none
print *,"PLEASE ENTER DIMENSION OF (A) MATRIX :"
Read *,n
I want to enter n at the same line after print statement. But cursor jumps to the next line after print statement automatically.
How should I enter the n at the same line?
Thanks a lot