下面这个代码,为什么输出e的时候,只输出了F?
[Fortran] 纯文本查看 复制代码 program ex0421
integer a
real b
complex c
logical d
character e
a=10
b=12.34
c=(1,2)
d=.true.
e="Fortran"
write(*,"(1x,i5)") a
write(*,"(1x,f6.3)") b
write(*,"(1x,f4.2,f4.2)") c
write(*,"(1x,l3)") d
write(*,"(1x,a10)") e
end
|