• 聯(lián)系客服微信掃一掃關注公眾號后聯(lián)系客服
    掃碼練習微信掃碼免費搜題
    • 首頁

    • 題庫

    • 網(wǎng)課

    • 在線???/h3>

    • 桌面端

    登錄
    • 搜標題
    • 搜題干
    • 搜選項
    題目列表

    fortran考試填空題每日一練(2020.01.03)

    • 填空題

      下列程序的運行結果是()。 Program main  implicit none integer ::a=1   integer ::b=2 call add ( a )   Call add ( b) Write(*,*) a , b Stop  end Subroutine  add (sum) Implicit none integer :: sum   sum=sum+1 Return end 

      答案:2,3
    • 填空題

      下列程序的運行結果是()。 Program test Implicit none Complex a,b,c A=(1.0,2.0) b= (2.0,4.0) c=a+b Write(*,*) c Stop end 

      答案:(3.000000,6.000000)
    • 填空題

      下列程序的運行結果是()。 Program test Implicit none Integer::i Integer::a(5)=(/ (i, i=1,5) /) Integer::b(5)=0      Where (a<3)           b=a    End where Write(*,”(5(i3,1x))”) b end

      答案:12000
    • 填空題

      下列程序的運行結果是()。 Program test Implicit none Integer::i Integer::a(5)       Forall ( i=1:5 )    A(I)=5 End forall Write(*,*)a Stop end

      答案:55555
    • 填空題

      Fortran語言中有:()五種基本數(shù)據(jù)類型。

      答案:整數(shù)型、邏輯型、字符型、實數(shù)型、復數(shù)型
    掃碼聯(lián)系掃碼聯(lián)系在線客服
    反饋使用問題
    掃碼練習掃碼使用找答案小程序
    手機搜題/刷題/上網(wǎng)課

    版權所有?考試資料網(wǎng)(ppkao.com) 長沙求知信息技術有限公司 All Rights Reserved

    湘公網(wǎng)安備 43010202000353號備案號: 湘ICP備14005140號-2

    經(jīng)營許可證號 : 湘B2-20140064

    • 聯(lián)系客服
    • 小程序
    • 桌面端下載
    • 回到頂部

    感谢您访问我们的网站,您可能还对以下资源感兴趣:

    手机毛片在线