black

fortran考试

登录

填空题

下列程序的运行结果为()。
        Program main
      Implicit none
      Real :: a, b, m
             A=2.0
             B=76.0 
           If(a                M=a
               A=b
               B=m
             End if 
       Write(*,*) “a=”,a “b=”,b
          end

【参考答案】

76.0,2.0

相关考题

填空题 下列程序运行结果为()。  Program main  Implicit none  Integer::floor=5,i       Do  i=1, floor          If(i==3)cycle          If(i==4)cycle            Write(*,*)i           End do        end

填空题 字符型常数’this”s’的字符长度为()

填空题 Fortran程序的书写格式有两种()。

All Rights Reserved 版权所有©考试题库网(kstiku.com)

备案号:湘ICP备14005140号-3

经营许可证号:湘B2-20140064