文章标题

来源:互联网 发布:fedora dnf和yum 编辑:程序博客网 时间:2024/05/22 02:03

Fortran的while循环

fortran77没有显式的while循环,但可以通过if+goto来创建

      program loopc***********c      while loopc***********      real x      x = 10.010    if(x.gt.1) then           x = x/2          write(*,*) 'hello'      goto 10      end if      end
原创粉丝点击