Re: ordinate a sequences of number
gambato@xxxxxxxxxxxx wrote:
hi!!
I need to ordinate a lot of number in a growing way. I tryed to write
this program but it doesn't work ....what is wrong?
Can you help me?Thank you very much!
C.
c**************************************************
PROGRAM ORD
c**************************************************
c
integer n
parameter (n=108000 )
real*8 fvx(n), fvy(n), fvz(n)
real*8 pos(n)
c
open (unit=11, file='fv900')
do 10 i=1, (n-1)
read (11,*) fvx(i)
minx= fvx(i)
do 20 j=(i+1),n
if (fvx(j) .lt. minx) then
min= fvx(j)
end if
c write(*,*) min
20 continue
pos(i)=min
10 continue
close(unit=11)
RETURN
END
This sounds a lot like "Please do my homework for me."
.
Relevant Pages
- Re: ordinate a sequences of number
... > I need to ordinate a lot of number in a growing way. ... you will then discover that a variable name is mistyped. ... must consider what's happening by stepping through the logic. ... (comp.lang.fortran) - ordinate a sequences of number
... I need to ordinate a lot of number in a growing way. ... PROGRAM ORD ... Prev by Date: ... (comp.lang.fortran) |
|