| 查看: 2236 | 回复: 3 | |||
[交流]
【求助】fortran出错了
|
|
本人刚开始学fortran 想请教大家一下下面的程序哪个地方错了 老是提示 E:\Text1.f90(10): error FOR3351:inconsistent usage of KBC detected between A and ) E:\Text1.f90(14): error FOR3351: inconsistent usage of KBC detected between A and ) E:\Text1.f90(18): error FOR2290: implicit type for YC detected between YC and - E:\Text1.f90(18): error FOR2290: implicit type for XC detected between XC and - E:\Text1.f90(22): warning FOR4265: symbol XC referenced but not set E:\Text1.f90(22): warning FOR4265: symbol KAC referenced but not set E:\Text1.f90(22): warning FOR4265: symbol YC referenced but not set E:\Text1.f90(22): warning FOR4270: unused symbol LBE 程序是如下 implicit none real :: x1, y1, x2, y2, x3, y3, a, b, kab, kbc, xe print *, " input the parameters " read(*, *)x1, y1, x2, y2, x3, y3, a, b kab = (y2-y1)/(x2-x1) kbc = (y3-y2)/(x3-x2) kab = (y3-y1)/(x2-x1) xe = (y2-b+kab*a-kbc*x2)/(kab-kbc) write (*, *) xe end 谢谢各位 |
» 猜你喜欢
售SCI一区文章,我:8.O.551.O.5.4,科目全,可伽急
已经有5人回复
征友后感触
已经有6人回复
为了不被淘汰,必须要开始第三次奋斗了
已经有6人回复
27博士申请(市政/环境)
已经有4人回复
售SCI一区T0P文章,我:8.O.55.1.O54,科目全,可伽急
已经有3人回复
售SCI一区T0P文章,我:8.O.55.1.O.5.4,科目全,可+急
已经有4人回复
售SCI一区T0P文章,我:8O.55.1.O.5.4,科目齐全,可+急
已经有5人回复
售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急
已经有6人回复
售一区SCI文章T0P,我:8O.551.O54,科目全,可十急
已经有5人回复
售一区SCI文章T0P,我:8O.551.O54,科目全,可十急
已经有5人回复
» 本主题相关价值贴推荐,对您同样有帮助:
【求助】求fortra程序
已经有4人回复
2楼2011-03-30 18:46:01
3楼2011-03-30 18:52:45
4楼2011-03-30 19:21:48










回复此楼