我的程序:program examimplicit nonereal vreal sqrtopen(2,file='F:\6.txt',status='replace') v=sqrt(4)write(2,*) vend结果出错提示:Error:This name does not have a type,and must have an explicit type.[SQRT]Warning:Arguments' data types are i

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/20 07:46:16
我的程序:program examimplicit nonereal vreal sqrtopen(2,file='F:\6.txt',status='replace') v=sqrt(4)write(2,*) vend结果出错提示:Error:This name does not have a type,and must have an explicit type.[SQRT]Warning:Arguments' data types are i
x咱JA_e3EDP juv  5]Lo梢ba!663~)2qX vS6\0)=!k<|h4HSPF\*J2m Z`H9/#S[NsT= *GU[g=LLN] )Re Mqms\ne"gBAl/HB3H3Qڷ "hD

我的程序:program examimplicit nonereal vreal sqrtopen(2,file='F:\6.txt',status='replace') v=sqrt(4)write(2,*) vend结果出错提示:Error:This name does not have a type,and must have an explicit type.[SQRT]Warning:Arguments' data types are i
我的程序:
program examimplicit nonereal vreal sqrtopen(2,file='F:\6.txt',status='replace') v=sqrt(4)write(2,*) vend
结果出错提示:
Error:This name does not have a type,and must have an explicit type.[SQRT]
Warning:Arguments' data types are incompatible with intrinsic procedure,assume EXTERNAL.[SQRT]
请问怎么调用啊?
Fortran中开根号函数的调用

我的程序:program examimplicit nonereal vreal sqrtopen(2,file='F:\6.txt',status='replace') v=sqrt(4)write(2,*) vend结果出错提示:Error:This name does not have a type,and must have an explicit type.[SQRT]Warning:Arguments' data types are i
v=sqrt(4)
改为
v=sqrt(4.0)