9
2
0
入门
program calculate_e implicit none ! integer(kind=4)::M character(LEN=3):: D,P,R M=Log(P)-log(P-D*R)/log(1+R) writer(*,*)‘M=’,M end program
使用道具 举报
54
实习版主
program calculate_e implicit none ! real :: M real :: D = 2.0 ,P = 30.0 , R = 4.0 M=Log(P)-log(P-D*R)/log(1+R) write(*,*) "M=", M end program
program main implicit none real::x=1.0,y=3.0,z=5.0,m=-6,n=4,k=3 real::S S=max((m*k).(mod(m-1,n))*4) write(*,*)"S=",S end
本版积分规则 发表回复 回帖后跳转到最后一页
颁发给论坛注册3年以上的网友
颁发给注册后积极发言的新人
捐赠本站|Archiver|关于我们 About Us|小黑屋|Fcode ( 京ICP备18005632-2号 )
GMT+8, 2024-12-25 09:48
Powered by Tencent X3.4
© 2013-2024 Tencent