Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- subroutine ReadArray(n,array)
- integer :: i
- real, dimension(n) :: array
- do i =1,n
- write (*,'(i2,a,1x$)') i,':'
- read (*,*) array(i)
- end do
- end subroutine
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement