编辑代码
Fortran代码
gfortran7.5.0
运行
program
main
real
::x=
0
.
1
,y=
0
.
2
,a=
0
.
3
,c
c
=(x+y)/a
print
*,c
end