fortran怎样输入复数?比如3+2i

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/13 07:31:09
fortran怎样输入复数?比如3+2i

fortran怎样输入复数?比如3+2i
fortran怎样输入复数?比如3+2i

fortran怎样输入复数?比如3+2i
Program www_fcode_cn
  Implicit None
  Complex :: c
  Read( * , * ) c
  write( * , * ) c
End Program www_fcode_cn


如果是类似上面的代码,那么输入 (3,2) 既可