Expected expression in WRITE statement at (1)

前端 未结 1 1240
遥遥无期
遥遥无期 2021-01-23 02:16

So it\'s a simple helloworld program !sample program program main implicit none integer i real x

write(6,*) ’Hello World!’
x=0
do i=1,10
x=x+         


        
相关标签:
1条回答
  • 2021-01-23 02:55

    It's because you're using curly quotes around Hello world. Replace them with straight quotes and it'll work

    So replace

    write(6,*) ’Hello World!’
    

    with

    write(6,*) 'Hello World!'
    
    0 讨论(0)
提交回复
热议问题